mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
libperf: Add perf_evlist__id_add_fd() function
Add the perf_evlist__id_add_fd() function to libperf as an internal function. 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-32-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
b0031c2281
commit
d5a99483de
5 changed files with 50 additions and 47 deletions
|
@ -141,10 +141,6 @@ struct evsel *
|
|||
perf_evlist__find_tracepoint_by_name(struct evlist *evlist,
|
||||
const char *name);
|
||||
|
||||
int perf_evlist__id_add_fd(struct evlist *evlist,
|
||||
struct evsel *evsel,
|
||||
int cpu, int thread, int fd);
|
||||
|
||||
int perf_evlist__add_pollfd(struct evlist *evlist, int fd);
|
||||
int perf_evlist__alloc_pollfd(struct evlist *evlist);
|
||||
int perf_evlist__filter_pollfd(struct evlist *evlist, short revents_and_mask);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue