diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-01-22 10:09:31 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-01-31 17:07:44 +0100 |
commit | a8bb559bd4eff5c71601e2e61a4bd1deef44a03c (patch) | |
tree | 2e1f82e4e6024aa66e10b7a73241ff25e0d10105 /tools/perf/util/header.h | |
parent | perf tests: Add group test conditions (diff) | |
download | linux-a8bb559bd4eff5c71601e2e61a4bd1deef44a03c.tar.xz linux-a8bb559bd4eff5c71601e2e61a4bd1deef44a03c.zip |
perf header: Add HEADER_GROUP_DESC feature
Save group relationship information so that it can be restored when perf
report is running.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1358845787-1350-4-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/header.h')
-rw-r--r-- | tools/perf/util/header.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/header.h b/tools/perf/util/header.h index 20f0344accb1..c9fc55cada6d 100644 --- a/tools/perf/util/header.h +++ b/tools/perf/util/header.h @@ -29,6 +29,7 @@ enum { HEADER_NUMA_TOPOLOGY, HEADER_BRANCH_STACK, HEADER_PMU_MAPPINGS, + HEADER_GROUP_DESC, HEADER_LAST_FEATURE, HEADER_FEAT_BITS = 256, }; @@ -79,6 +80,7 @@ struct perf_session_env { char *numa_nodes; int nr_pmu_mappings; char *pmu_mappings; + int nr_groups; }; struct perf_header { |