diff options
author | Jiri Olsa <jolsa@kernel.org> | 2019-07-21 07:24:40 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-07-29 17:34:45 -0400 |
commit | ec903f264f0184a0aba62b42d7717c61f1893450 (patch) | |
tree | 21d1916c0e4feb659e0d90338e687989d8f36cda /tools/perf/lib | |
parent | af663bd01beaff8d9514199fcc1b239902a77de5 (diff) |
libperf: Add has_user_cpus to struct perf_evlist
Move has_user_cpus from tools/perf's evlist to libbperf's perf_evlist struct.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190721112506.12306-54-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/lib')
-rw-r--r-- | tools/perf/lib/include/internal/evlist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/lib/include/internal/evlist.h b/tools/perf/lib/include/internal/evlist.h index a12c712a9197..9964e4a9456e 100644 --- a/tools/perf/lib/include/internal/evlist.h +++ b/tools/perf/lib/include/internal/evlist.h | |||
@@ -5,6 +5,7 @@ | |||
5 | struct perf_evlist { | 5 | struct perf_evlist { |
6 | struct list_head entries; | 6 | struct list_head entries; |
7 | int nr_entries; | 7 | int nr_entries; |
8 | bool has_user_cpus; | ||
8 | }; | 9 | }; |
9 | 10 | ||
10 | #endif /* __LIBPERF_INTERNAL_EVLIST_H */ | 11 | #endif /* __LIBPERF_INTERNAL_EVLIST_H */ |