diff options
author | Doug Smythies <doug.smythies@gmail.com> | 2017-04-18 02:12:13 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-04-19 02:47:28 +0200 |
commit | 010a522cf2d9a01612b8a95abd787e70ae123ea6 (patch) | |
tree | 8a97fd6c13b6febb983e7a97635a83dde3b672b4 /scripts/analyze_suspend.py | |
parent | Linux 4.11-rc7 (diff) | |
download | linux-010a522cf2d9a01612b8a95abd787e70ae123ea6.tar.xz linux-010a522cf2d9a01612b8a95abd787e70ae123ea6.zip |
tools/power/x86/intel_pstate_tracer: Adjust directory ownership
The intel_pstate_tracer.py script only needs to be run as root
when it is also used to actually acquire the trace data that
it will post process. Otherwise it is generally preferable
that it be run as a regular user.
If run the first time as root the results directory will be
incorrect for any subsequent run as a regular user. For any run
as root the specific testname subdirectory will not allow any
subsequent file saves by a regular user. Typically, and for example,
the regular user might be attempting to save a .csv file converted to
a spreadsheet with added calculations or graphs.
Set the directories and files owner and groups IDs to be the regular
user, if required.
Signed-off-by: Doug Smythies <dsmythies@telus.net>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/analyze_suspend.py')
0 files changed, 0 insertions, 0 deletions