Searched refs:can_profile_kernel (Results 1 – 3 of 3) sorted by relevance
96 bool can_profile_kernel; in evlist__new_default() local102 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()
1668 bool can_profile_kernel = perf_event_paranoid_check(1); in cmd_top() local1669 int err = parse_event(top.evlist, can_profile_kernel ? "cycles:P" : "cycles:Pu"); in cmd_top()
4119 bool can_profile_kernel = perf_event_paranoid_check(1); in cmd_record() local4121 err = parse_event(rec->evlist, can_profile_kernel ? "cycles:P" : "cycles:Pu"); in cmd_record()