summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/header.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2015-10-25 15:51:43 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-12-17 15:15:14 -0300
commitffa517adf625fa6a6c168285534e1ff7344fa2f1 (patch)
treeb5e744e3b47bda70e63f1f10533cbce99bd4cff2 /tools/perf/util/header.h
parent2d2aea6ae736503d3896c4997b494760ed8febc1 (diff)
downloadop-kernel-dev-ffa517adf625fa6a6c168285534e1ff7344fa2f1.zip
op-kernel-dev-ffa517adf625fa6a6c168285534e1ff7344fa2f1.tar.gz
perf tools: Introduce stat perf.data header feature
Introducing the 'stat' feature to mark a perf.data as created by the 'perf stat record' command. It contains no data. It's needed so that the report tools (report/script) can differentiate sampling data from counting data, because they need to be treated in a different way. In the future it might be used to store the version of the stat storage system used. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Kan Liang <kan.liang@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1445784728-21732-28-git-send-email-jolsa@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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/header.h b/tools/perf/util/header.h
index 710deec..cff9892 100644
--- a/tools/perf/util/header.h
+++ b/tools/perf/util/header.h
@@ -31,6 +31,7 @@ enum {
HEADER_PMU_MAPPINGS,
HEADER_GROUP_DESC,
HEADER_AUXTRACE,
+ HEADER_STAT,
HEADER_LAST_FEATURE,
HEADER_FEAT_BITS = 256,
};
OpenPOWER on IntegriCloud