libperf: Move 'sample_id' from 'struct evsel' to 'struct perf_evsel'
Move 'sample_id' array from 'struct evsel' to libperf's 'struct perf_evsel'. Committer notes: Removed the 'struct xyarray' from util/evsel.h, not needed anymore there. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lore.kernel.org/lkml/20190913132355.21634-24-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:

committed by
Arnaldo Carvalho de Melo

parent
fee92b4442
commit
8cd36f3ef4
@@ -96,7 +96,6 @@ enum perf_tool_event {
|
||||
|
||||
struct bpf_object;
|
||||
struct perf_counts;
|
||||
struct xyarray;
|
||||
|
||||
/** struct evsel - event selector
|
||||
*
|
||||
@@ -117,7 +116,6 @@ struct evsel {
|
||||
struct perf_evsel core;
|
||||
struct evlist *evlist;
|
||||
char *filter;
|
||||
struct xyarray *sample_id;
|
||||
u64 *id;
|
||||
struct perf_counts *counts;
|
||||
struct perf_counts *prev_raw_counts;
|
||||
|
Reference in New Issue
Block a user