Searched refs:kfd (Results 1 – 4 of 4) sorted by relevance
/tools/perf/ |
D | builtin-probe.c | 422 int ret, ret2, ufd = -1, kfd = -1; in perf_del_probe_events() local 436 ret = probe_file__open_both(&kfd, &ufd, PF_FL_RW); in perf_del_probe_events() 447 ret = probe_file__get_events(kfd, filter, klist); in perf_del_probe_events() 452 ret = probe_file__del_strlist(kfd, klist); in perf_del_probe_events() 475 if (kfd >= 0) in perf_del_probe_events() 476 close(kfd); in perf_del_probe_events()
|
/tools/perf/util/ |
D | probe-file.h | 42 int probe_file__open_both(int *kfd, int *ufd, int flag);
|
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-event.c | 3575 int ret, ret2, ufd = -1, kfd = -1; in del_perf_probe_events() local 3582 ret = probe_file__open_both(&kfd, &ufd, PF_FL_RW); in del_perf_probe_events() 3586 ret = probe_file__del_events(kfd, filter); in del_perf_probe_events() 3598 if (kfd >= 0) in del_perf_probe_events() 3599 close(kfd); in del_perf_probe_events()
|