Home
last modified time | relevance | path

Searched refs:can_profile_kernel (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/perf/util/
Devlist.c96 bool can_profile_kernel; in evlist__new_default() local
102 can_profile_kernel = perf_event_paranoid_check(1); in evlist__new_default()
103 err = parse_event(evlist, can_profile_kernel ? "cycles:P" : "cycles:Pu"); in evlist__new_default()
/Linux-v6.6/tools/perf/
Dbuiltin-top.c1668 bool can_profile_kernel = perf_event_paranoid_check(1); in cmd_top() local
1669 int err = parse_event(top.evlist, can_profile_kernel ? "cycles:P" : "cycles:Pu"); in cmd_top()
Dbuiltin-record.c4119 bool can_profile_kernel = perf_event_paranoid_check(1); in cmd_record() local
4121 err = parse_event(rec->evlist, can_profile_kernel ? "cycles:P" : "cycles:Pu"); in cmd_record()