[lkml]   [2010]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC PATCHv3] perf tools: add event grouping capability to "perf stat"
    Em Thu, Nov 25, 2010 at 03:18:58PM +0100, Stephane Eranian escreveu:
    > On Thu, Nov 25, 2010 at 3:12 PM, Peter Zijlstra <> wrote:
    > > perf-record already does that:
    > >
    > >        if (nr_counters > 1)
    > >                attr->sample_type |= PERF_SAMPLE_ID;
    > >
    > Ok, that's good.
    > The other thing I saw, is that perf report assumes that sample_type is the
    > same for all events, otherwise it dies.

    Right, we need to have object attributes, and then pass them to
    perf_session__new, so that it creates the counters, etc, instead of
    having top, record, etc doing it in ad hoc ways.

    I'll try to attack this soon, after tinishing the sample_type_id_all,
    that in the kernel is per attribute, but in the tooling side suffers
    from the one sample_type per session, not per attribute problem too.

    - Arnaldo
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2010-11-25 17:51    [W:0.020 / U:18.284 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site