mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
e607f1426b
Showing actual trace event when deleteing perf events is only needed in perf probe command. But the add functionality itself can be used by other places. So move the printing code into the cmd_probe(). The output is not changed. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Wang Nan <wangnan0@huawei.com> Cc: pi3orama@163.com Link: http://lkml.kernel.org/r/1441368963-11565-5-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
23 lines
639 B
C
23 lines
639 B
C
#ifndef __PROBE_FILE_H
|
|
#define __PROBE_FILE_H
|
|
|
|
#include "strlist.h"
|
|
#include "strfilter.h"
|
|
#include "probe-event.h"
|
|
|
|
#define PF_FL_UPROBE 1
|
|
#define PF_FL_RW 2
|
|
|
|
int probe_file__open(int flag);
|
|
int probe_file__open_both(int *kfd, int *ufd, int flag);
|
|
struct strlist *probe_file__get_namelist(int fd);
|
|
struct strlist *probe_file__get_rawlist(int fd);
|
|
int probe_file__add_event(int fd, struct probe_trace_event *tev);
|
|
int probe_file__del_events(int fd, struct strfilter *filter);
|
|
int probe_file__get_events(int fd, struct strfilter *filter,
|
|
struct strlist *plist);
|
|
int probe_file__del_strlist(int fd, struct strlist *namelist);
|
|
|
|
|
|
#endif
|