Home
last modified time | relevance | path

Searched refs:use_bpf (Results 1 – 7 of 7) sorted by relevance

/linux/tools/perf/
H A Dbuiltin-ftrace.c1046 if (ftrace->target.use_bpf) in prepare_func_latency()
1088 if (ftrace->target.use_bpf) in start_func_latency()
1101 if (ftrace->target.use_bpf) in stop_func_latency()
1110 if (ftrace->target.use_bpf) in read_func_latency()
1118 if (ftrace->target.use_bpf) in cleanup_func_latency()
1176 while (!ftrace->target.use_bpf) { in __cmd_latency()
1807 OPT_BOOLEAN('b', "use-bpf", &ftrace.target.use_bpf, in cmd_ftrace()
1927 if (!list_empty(&ftrace.event_pair) && !ftrace.target.use_bpf) { in cmd_ftrace()
H A Dbuiltin-lock.c56 static bool use_bpf; variable
1744 if (!use_bpf) in print_footer_stdio()
1766 if (use_bpf) in print_footer_csv()
1775 if (use_bpf) { in print_footer_csv()
1809 total += use_bpf ? st->nr_contended : 1; in print_contention_result()
1841 total += use_bpf ? st->nr_contended : 1; in print_contention_result()
1939 if (show_lock_owner && !use_bpf) { in check_lock_contention_options()
1953 if (show_lock_cgroups && !use_bpf) { in check_lock_contention_options()
2031 session = __perf_session__new(use_bpf ? NULL : &data, &eops, in __cmd_contention()
2053 if (use_bpf) { in __cmd_contention()
[all …]
H A Dbuiltin-kwork.c1627 kwork->use_bpf ? " " : "", in top_print_header()
1628 kwork->use_bpf ? PRINT_PID_WIDTH : 0, in top_print_header()
1629 kwork->use_bpf ? "SPID" : "", in top_print_header()
1630 kwork->use_bpf ? " " : "", in top_print_header()
1653 if (kwork->use_bpf) in top_print_work()
1673 if (kwork->use_bpf) in top_print_work()
1909 if (kwork->use_bpf) in perf_kwork__report()
2218 if (kwork->use_bpf) in perf_kwork__top()
2395 OPT_BOOLEAN('b', "use-bpf", &kwork.use_bpf, in cmd_kwork()
2412 OPT_BOOLEAN('b', "use-bpf", &kwork.use_bpf, in cmd_kwork()
[all …]
H A Dbuiltin-stat.c813 if (!target.use_bpf) { in __run_perf_stat()
2447 OPT_BOOLEAN(0, "bpf-counters", &target.use_bpf, in cmd_stat()
2848 if (target.use_bpf && nr_cgroups && in cmd_stat()
2852 target.use_bpf = false; in cmd_stat()
2865 if ((counter->bpf_counter || target.use_bpf) && !target__has_cpu(&target)) in cmd_stat()
/linux/tools/perf/util/
H A Dtarget.h17 bool use_bpf; member
H A Dkwork.h235 bool use_bpf; member
H A Dbpf_counter.c861 else if (cgrp_event_expanded && target->use_bpf) in bpf_counter__load()
863 else if (target->use_bpf || evsel->bpf_counter || in bpf_counter__load()