lkml.org 
[lkml]   [2012]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 8/9] trace: use this_cpu_ptr per-cpu helper
On Sat, 3 Nov 2012, Shan Wei wrote:

> return (char *)this_cpu_ptr(&percpu_buffer->buffer);

Makes sense since buffer is the actual start of the bytes and not a
pointer to a buffer like what I thought.



\
 
 \ /
  Last update: 2012-11-05 17:01    [W:0.715 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site