mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
sysprofd: add API to set perf_event_paranoid
This will allow us to get more information on demand when running the profiler without endless tweaking by end users.
This commit is contained in:
@ -106,5 +106,17 @@
|
||||
<arg name="governor" type="s" direction="in"/>
|
||||
<arg name="old_governor" type="s" direction="out"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
SetParanoid:
|
||||
@governor: the new perf paranoid setting
|
||||
@old_governor: the old perf paranoid setting
|
||||
|
||||
Sets the perf_event_paranoid setting for the system.
|
||||
-->
|
||||
<method name="SetParanoid">
|
||||
<arg name="paranoid" type="i" direction="in"/>
|
||||
<arg name="old_paranoid" type="i" direction="out"/>
|
||||
</method>
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
Reference in New Issue
Block a user