File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
packages/Python/lldbsuite/test/tools/intelpt
source/Plugins/Process/Linux Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ def is_supported():
44
44
return False
45
45
if not is_supported ():
46
46
self .skipTest ("Per cpu tracing is not supported. You need "
47
- "/proc/sys/kernel/perf_event_paranoid to be 0 or -1." )
47
+ "/proc/sys/kernel/perf_event_paranoid to be 0 or -1. "
48
+ "You can use `sudo sysctl -w kernel.perf_event_paranoid=-1` for that." )
48
49
49
50
def getTraceOrCreate (self ):
50
51
if not self .target ().GetTrace ().IsValid ():
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ static Error IncludePerfEventParanoidMessageInError(Error &&error) {
29
29
return createStringError (
30
30
inconvertibleErrorCode (),
31
31
" %s\n You might need to rerun as sudo or to set "
32
- " /proc/sys/kernel/perf_event_paranoid to a value of 0 or -1." ,
32
+ " /proc/sys/kernel/perf_event_paranoid to a value of 0 or -1. You can use `sudo sysctl -w kernel.perf_event_paranoid=-1` for that. " ,
33
33
toString (std::move (error)).c_str ());
34
34
}
35
35
You can’t perform that action at this time.
0 commit comments