lkml.org 
[lkml]   [2015]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v8 14/14] perf: add ITRACE_START record to indicate that tracing has started
On Fri, Jan 09, 2015 at 03:12:48PM +0100, Peter Zijlstra wrote:
> On Fri, Nov 14, 2014 at 03:43:47PM +0200, Alexander Shishkin wrote:
> > +++ b/include/uapi/linux/perf_event.h
> > @@ -750,6 +750,17 @@ enum perf_event_type {
> > */
> > PERF_RECORD_AUX = 11,
> >
> > + /*
> > + * Indicates that instruction trace has started
> > + *
> > + * struct {
> > + * struct perf_event_header header;
> > + * u32 pid;
> > + * u32 tid;
>
> The below function suggests we should have:
>
> struct sample_id sample_id;
>
> > + * };
> > + */
> > + PERF_RECORD_ITRACE_START = 12,

This also raises the question; why not use PERF_RECORD_COMM?


\
 
 \ /
  Last update: 2015-01-09 15:21    [W:0.179 / U:0.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site