Lines Matching refs:ftrace
19 int perf_ftrace__latency_prepare_bpf(struct perf_ftrace *ftrace) in perf_ftrace__latency_prepare_bpf() argument
25 if (!list_is_singular(&ftrace->filters)) { in perf_ftrace__latency_prepare_bpf()
27 list_empty(&ftrace->filters) ? "No" : "Too many"); in perf_ftrace__latency_prepare_bpf()
31 func = list_first_entry(&ftrace->filters, struct filter_entry, list); in perf_ftrace__latency_prepare_bpf()
40 if (ftrace->target.cpu_list) { in perf_ftrace__latency_prepare_bpf()
41 ncpus = perf_cpu_map__nr(ftrace->evlist->core.user_requested_cpus); in perf_ftrace__latency_prepare_bpf()
45 if (target__has_task(&ftrace->target) || target__none(&ftrace->target)) { in perf_ftrace__latency_prepare_bpf()
46 ntasks = perf_thread_map__nr(ftrace->evlist->core.threads); in perf_ftrace__latency_prepare_bpf()
58 if (ftrace->target.cpu_list) { in perf_ftrace__latency_prepare_bpf()
66 cpu = perf_cpu_map__cpu(ftrace->evlist->core.user_requested_cpus, i).cpu; in perf_ftrace__latency_prepare_bpf()
71 if (target__has_task(&ftrace->target) || target__none(&ftrace->target)) { in perf_ftrace__latency_prepare_bpf()
79 pid = perf_thread_map__pid(ftrace->evlist->core.threads, i); in perf_ftrace__latency_prepare_bpf()
84 skel->bss->use_nsec = ftrace->use_nsec; in perf_ftrace__latency_prepare_bpf()
109 int perf_ftrace__latency_start_bpf(struct perf_ftrace *ftrace __maybe_unused) in perf_ftrace__latency_start_bpf()
115 int perf_ftrace__latency_stop_bpf(struct perf_ftrace *ftrace __maybe_unused) in perf_ftrace__latency_stop_bpf()
121 int perf_ftrace__latency_read_bpf(struct perf_ftrace *ftrace __maybe_unused, in perf_ftrace__latency_read_bpf()
150 int perf_ftrace__latency_cleanup_bpf(struct perf_ftrace *ftrace __maybe_unused) in perf_ftrace__latency_cleanup_bpf()