diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-10-25 10:51:44 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-10-27 14:04:29 -0400 |
commit | af3399817428d8adc2c87c91df23fde77dbcdb35 (patch) | |
tree | 3a4c5dfc6203682a1d937ff364514aa88fb5f00f /tools | |
parent | c71183697250b356be6c7c1abc2e9a74073e1dca (diff) |
perf evsel: Move id_offset out of struct perf_evsel union member
Because the 'perf stat record' patches will use the id_offset member
together with the priv pointer.
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-29-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/evsel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index 02a5fed8d924..0e22c0b7dab5 100644 --- a/tools/perf/util/evsel.h +++ b/tools/perf/util/evsel.h | |||
@@ -90,9 +90,9 @@ struct perf_evsel { | |||
90 | double scale; | 90 | double scale; |
91 | const char *unit; | 91 | const char *unit; |
92 | struct event_format *tp_format; | 92 | struct event_format *tp_format; |
93 | off_t id_offset; | ||
93 | union { | 94 | union { |
94 | void *priv; | 95 | void *priv; |
95 | off_t id_offset; | ||
96 | u64 db_id; | 96 | u64 db_id; |
97 | }; | 97 | }; |
98 | struct cgroup_sel *cgrp; | 98 | struct cgroup_sel *cgrp; |