From: Jiri Olsa Date: Sun, 25 Oct 2015 14:51:44 +0000 (+0100) Subject: perf evsel: Move id_offset out of struct perf_evsel union member X-Git-Tag: microblaze-4.7-rc1~1162^2~2^2~7 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=af3399817428d8adc2c87c91df23fde77dbcdb35;p=linux-2.6-microblaze.git 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 Tested-by: Kan Liang Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1445784728-21732-29-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- 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 { double scale; const char *unit; struct event_format *tp_format; + off_t id_offset; union { void *priv; - off_t id_offset; u64 db_id; }; struct cgroup_sel *cgrp;