diff options
author | Leo Yan <[email protected]> | 2017-10-10 14:32:13 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-10-20 15:03:06 +0200 |
commit | 24f0d316fd14c8e61592f580e0075dd3433fde40 (patch) | |
tree | a3d5583d474fc8cdcfa1398d1974424568d85708 /tools/perf/scripts/python/sched-migration.py | |
parent | 0bbb194c0c33c251ac3d33f46c8fd045d82350e5 (diff) |
doc: coresight: correct usage for disabling idle states
In the coresight CPU debug document it suggests to use 'echo' command
to set latency request to /dev/cpu_dma_latency so can disable all CPU
idle states, but in fact this doesn't work.
This is because when the command 'echo' exits, it releases the device
node's file descriptor and the kernel release function removes the QoS
constraint; finally when the command 'echo' finished there have no
constraint imposed on cpu_dma_latency.
This patch changes to use 'exec' to access '/dev/cpu_dma_latency', the
command 'exec' can avoid the file descriptor to be closed so we can
keep the constraint on cpu_dma_latency.
This patch also adds the info for reference docs for PM QoS and cpuidle
sysfs.
Cc: Jonathan Corbet <[email protected]>
Cc: Sudeep Holla <[email protected]>
Reported-by: Kim Phillips <[email protected]>
Suggested-by: Mathieu Poirier <[email protected]>
Signed-off-by: Leo Yan <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions