Commit af339981 authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo

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: default avatarJiri Olsa <jolsa@kernel.org>
Tested-by: default avatarKan 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.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent c7118369
...@@ -90,9 +90,9 @@ struct perf_evsel { ...@@ -90,9 +90,9 @@ struct perf_evsel {
double scale; double scale;
const char *unit; const char *unit;
struct event_format *tp_format; struct event_format *tp_format;
off_t id_offset;
union { union {
void *priv; void *priv;
off_t id_offset;
u64 db_id; u64 db_id;
}; };
struct cgroup_sel *cgrp; struct cgroup_sel *cgrp;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment