Searched refs:kfd (Results 1 – 4 of 4) sorted by relevance
/tools/perf/util/ |
D | probe-file.c | 117 int probe_file__open_both(int *kfd, int *ufd, int flag) in probe_file__open_both() argument 119 if (!kfd || !ufd) in probe_file__open_both() 122 *kfd = open_kprobe_events(flag & PF_FL_RW); in probe_file__open_both() 124 if (*kfd < 0 && *ufd < 0) { in probe_file__open_both() 125 print_both_open_warning(*kfd, *ufd); in probe_file__open_both() 126 return *kfd; in probe_file__open_both()
|
D | probe-file.h | 12 int probe_file__open_both(int *kfd, int *ufd, int flag);
|
D | probe-event.c | 2857 int ret, ret2, ufd = -1, kfd = -1; in del_perf_probe_events() local 2864 ret = probe_file__open_both(&kfd, &ufd, PF_FL_RW); in del_perf_probe_events() 2868 ret = probe_file__del_events(kfd, filter); in del_perf_probe_events() 2880 if (kfd >= 0) in del_perf_probe_events() 2881 close(kfd); in del_perf_probe_events()
|
/tools/perf/ |
D | builtin-probe.c | 368 int ret, ret2, ufd = -1, kfd = -1; in perf_del_probe_events() local 379 ret = probe_file__open_both(&kfd, &ufd, PF_FL_RW); in perf_del_probe_events() 390 ret = probe_file__get_events(kfd, filter, klist); in perf_del_probe_events() 395 ret = probe_file__del_strlist(kfd, klist); in perf_del_probe_events() 416 if (kfd >= 0) in perf_del_probe_events() 417 close(kfd); in perf_del_probe_events()
|