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>
This commit is contained in:
Jiri Olsa
2019-07-21 13:24:40 +02:00
committed by Arnaldo Carvalho de Melo
parent af663bd01b
commit ec903f264f
3 changed files with 3 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
struct perf_evlist {
struct list_head entries;
int nr_entries;
bool has_user_cpus;
};
#endif /* __LIBPERF_INTERNAL_EVLIST_H */