Searched refs:kfd (Results 1 – 4 of 4) sorted by relevance
/tools/perf/ |
D | builtin-probe.c | 443 int ret, ret2, ufd = -1, kfd = -1; in perf_del_probe_events() local 457 ret = probe_file__open_both(&kfd, &ufd, PF_FL_RW); in perf_del_probe_events() 468 ret = probe_file__get_events(kfd, filter, klist); in perf_del_probe_events() 473 ret = probe_file__del_strlist(kfd, klist); in perf_del_probe_events() 496 if (kfd >= 0) in perf_del_probe_events() 497 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 | 152 int probe_file__open_both(int *kfd, int *ufd, int flag) in probe_file__open_both() argument 154 if (!kfd || !ufd) in probe_file__open_both() 157 *kfd = open_kprobe_events(flag & PF_FL_RW); in probe_file__open_both() 159 if (*kfd < 0 && *ufd < 0) { in probe_file__open_both() 160 print_both_open_warning(*kfd, *ufd, flag & PF_FL_RW); in probe_file__open_both() 161 return *kfd; in probe_file__open_both()
|
D | probe-event.c | 3718 int ret, ret2, ufd = -1, kfd = -1; in del_perf_probe_events() local 3725 ret = probe_file__open_both(&kfd, &ufd, PF_FL_RW); in del_perf_probe_events() 3729 ret = probe_file__del_events(kfd, filter); in del_perf_probe_events() 3741 if (kfd >= 0) in del_perf_probe_events() 3742 close(kfd); in del_perf_probe_events()
|