perf tools: Add code to support PERF_SAMPLE_BRANCH_STACK
This patch adds: - ability to parse samples with PERF_SAMPLE_BRANCH_STACK - sort on branches (dso_from, symbol_from, dso_to, symbol_to, mispredict) - build histograms on branches Signed-off-by:Roberto Agostino Vitillo <ravitillo@lbl.gov> Signed-off-by:
Stephane Eranian <eranian@google.com> Cc: peterz@infradead.org Cc: acme@redhat.com Cc: robert.richter@amd.com Cc: ming.m.lin@intel.com Cc: andi@firstfloor.org Cc: asharma@fb.com Cc: vweaver1@eecs.utk.edu Cc: khandual@linux.vnet.ibm.com Cc: dsahern@gmail.com Link: http://lkml.kernel.org/r/1328826068-11713-12-git-send-email-eranian@google.com Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- tools/perf/perf.h 17 additions, 0 deletionstools/perf/perf.h
- tools/perf/util/event.h 1 addition, 0 deletionstools/perf/util/event.h
- tools/perf/util/evsel.c 10 additions, 0 deletionstools/perf/util/evsel.c
- tools/perf/util/hist.c 95 additions, 27 deletionstools/perf/util/hist.c
- tools/perf/util/hist.h 11 additions, 0 deletionstools/perf/util/hist.h
- tools/perf/util/session.c 72 additions, 0 deletionstools/perf/util/session.c
- tools/perf/util/session.h 4 additions, 0 deletionstools/perf/util/session.h
- tools/perf/util/sort.c 236 additions, 51 deletionstools/perf/util/sort.c
- tools/perf/util/sort.h 9 additions, 0 deletionstools/perf/util/sort.h
- tools/perf/util/symbol.h 13 additions, 0 deletionstools/perf/util/symbol.h
Please register or sign in to comment