lkml.org 
[lkml]   [2016]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 2/3] tracing: Add trace_irqsoff tracepoints
On Tue, 30 Aug 2016 17:02:03 +0200
Daniel Wagner <daniel.wagner@bmw-carit.de> wrote:

> On 08/30/2016 04:20 PM, Daniel Wagner wrote:
> > Just setting the size of the type is not enough. The hist_field_*
> > getter function want to know the offset too:
>
> With this hack here it should work. The COMM generic field is handled via
> the tracing_map_ops. We could do it also there but than we need to
> a condition in the trace_map_ops if it is COMM or CPU.
> This shortcut here avoids it:
>

I think the tracing_map_ops is the proper fix. I'd like to keep comm
and cpu identical, as they are both basically "meta fields".

-- Steve

\
 
 \ /
  Last update: 2016-09-17 09:58    [W:0.482 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site