perf evlist: Move evlist methods to evlist.c
They were on evsel.c because they came from refactoring existing evsel methods, so, to make reviewing the changes easier, I kept it there, now its a plain move. Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
#include "event.h"
|
||||
|
||||
struct pollfd;
|
||||
struct thread_map;
|
||||
struct cpu_map;
|
||||
|
||||
#define PERF_EVLIST__HLIST_BITS 8
|
||||
#define PERF_EVLIST__HLIST_SIZE (1 << PERF_EVLIST__HLIST_BITS)
|
||||
@@ -39,4 +41,9 @@ struct perf_evsel *perf_evlist__id2evsel(struct perf_evlist *evlist, u64 id);
|
||||
|
||||
union perf_event *perf_evlist__read_on_cpu(struct perf_evlist *self, int cpu);
|
||||
|
||||
int perf_evlist__alloc_mmap(struct perf_evlist *evlist, int ncpus);
|
||||
int perf_evlist__mmap(struct perf_evlist *evlist, struct cpu_map *cpus,
|
||||
struct thread_map *threads, int pages, bool overwrite);
|
||||
void perf_evlist__munmap(struct perf_evlist *evlist, int ncpus);
|
||||
|
||||
#endif /* __PERF_EVLIST_H */
|
||||
|
Reference in New Issue
Block a user