lkml.org 
[lkml]   [2011]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] perf report/annotate: Add option to specify a CPU range

    Hi David,

    > > Add an option to perf report and perf annotate to specify which CPUs
    >
    > What about perf-script?

    Good point, I added the option to perf script.

    > > + if (cpu_list && !test_bit(sample->cpu, cpu_bitmap))
    > > + return 0;
    > > +
    >
    > Need to check that the SAMPLE_CPU attribute is set for the event for
    > which the sample is generated; see builtin-script.c,
    > perf_evsel__check_attr().

    Added.

    > This option should be added to the Documentation file,
    > Documentation/perf-report.txt

    Added. Updated patch on the way.

    Thanks,
    Anton


    \
     
     \ /
      Last update: 2011-06-30 05:17    [W:0.019 / U:0.400 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site