lkml.org 
[lkml]   [2009]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] perfcounters: Support for ftrace event records sampling

    * Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

    > On Fri, 2009-08-07 at 01:25 +0200, Frederic Weisbecker wrote:
    > > This patch brings the kernel side support for ftrace event record
    > > sampling.
    > >
    > > A new counter attribute is added: PERF_SAMPLE_TP_RECORD which requests
    > > ftrace events record sampling.
    > >
    >
    > > + PERF_SAMPLE_TP_RECORD = 1U << 10,
    >
    > I'd really want this thing called PERF_SAMPLE_RAW

    yeah, i'd agree. I suggested to Frederic to use TP_RECORD but in
    hindsight we are better off to handle PERF_SAMPLE_RAW as a 'non-ABI'
    embelishment of samples, of not firmly defined content.

    In the tracepoint case, that extra raw content is defined by:

    /debug/tracing/events/*/format

    and subject to changes.

    Ingo


    \
     
     \ /
      Last update: 2009-08-07 13:01    [W:3.081 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site