[lkml]   [2012]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCHv3 0/3] perf tool: Add new event group management
    On Mon, Jul 2, 2012 at 3:11 PM, Namhyung Kim <> wrote:
    > 2012-07-02 (월), 12:15 +0200, Jiri Olsa:
    >> On Mon, Jul 02, 2012 at 10:53:44AM +0900, Namhyung Kim wrote:
    >> > Just a question, is there a way to know about the grouping at perf
    >> > report time?
    >> nope, AFAIK only ID and perf_event_attr is stored for event
    >> grouping is known only for record time
    > I heard that Arnaldo (or Stephane) wanted to make perf report
    > group-aware or such so that it can show related events together. But to
    > do that, it seems we need to change the data file format first, right?
    Yes, you'd like something like that. The idea is to use an event to sample
    and the others to compute event deltas. For instance, how many loads/stores
    instructions retired for every 100k instructions retired. For that you need
    grouping. The kernel supports this already, the perf tool does not.

    I don't think you need to change the file format. Everything is there
    already in the headers. OF course, you perf report needs to detect
    this mode and adjust the output. IF not, then it should only display
    samples coming from the first event. Not clear how you'd display
    the information in perf report or perf annotate at this point yet.

    > Any idea?
    > --
    > Regards,
    > Namhyung Kim
    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: 2012-07-05 19:41    [W:0.025 / U:4.096 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site