diff options
author | Andy Shevchenko <[email protected]> | 2013-05-17 11:52:02 +0000 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2013-05-28 10:04:22 +0800 |
commit | 42a5bf507d7f7ecbf606eb392dd9d2e4d009c36b (patch) | |
tree | 6c8fc95ce2004bdd0e0692110a09b4a023624893 /tools/perf/scripts/python/syscall-counts.py | |
parent | 3db46c939677e32e311d354b619fd552ceafd123 (diff) |
thermal: cut the spaces when user sets policy
Setting policy results in invalid value error.
% echo "step_wise" > policy
% echo: write error: Invalid argument
Need clean up of the buffer which "echo" may add based on the arguments, before
comparing aganist list of governor names.
Signed-off-by: Andy Shevchenko <[email protected]>
Reported-by: Srinivas Pandruvada <[email protected]>
Acked-by: Eduardo Valentin <[email protected]>
Tested-by: Eduardo Valentin <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions