lkml.org 
[lkml]   [2015]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH V4 02/24] perf tools: Add AUX area tracing index
    On Thu, Apr 30, 2015 at 05:37:25PM +0300, Adrian Hunter wrote:
    > Add an index of AUX area tracing events within
    > a perf.data file.
    >
    > perf record uses a special user event
    > PERF_RECORD_FINISHED_ROUND to enable sorting of
    > events in chunks instead of having to sort all
    > events altogether.
    >
    > AUX area tracing events contain data that can
    > span back to the very beginning of the recording
    > period. i.e. they do not obey the rules of
    > PERF_RECORD_FINISHED_ROUND.
    >
    > By adding an index, AUX area tracing events
    > can be found in advance and the
    > PERF_RECORD_FINISHED_ROUND approach works as
    > usual.
    >
    > The index is recorded with the auxtrace feature
    > in the perf.data file. A session reads the index
    > but does not process it. An AUX area
    > decoder can queue all the AUX area data
    > in advance using auxtrace_queues__process_index()
    > or otherwise process the index in some custom
    > manner.
    >
    > Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>

    Acked-by: Jiri Olsa <jolsa@kernel.org>

    thanks,
    jirka


    \
     
     \ /
      Last update: 2015-05-04 22:41    [W:3.424 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site