diff options
author | Stratos Karafotis <[email protected]> | 2014-04-29 20:53:49 +0300 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2014-05-07 00:29:51 +0200 |
commit | 6b17ddb2a50b9403c6948ec3e4ea2bd2d7064ff3 (patch) | |
tree | e5901ec21bbf82569076a6acebe456713ed42e4f /tools/perf/util/trace-event-scripting.c | |
parent | 735dc2498bd97b22e465dd4054d1b7edb9f63ed2 (diff) |
intel_pstate: Remove sample parameter in intel_pstate_calc_busy
Since commit d37e2b7644 ("intel_pstate: remove unneeded sample buffers")
we use only one sample. So, there is no need to pass the sample
pointer to intel_pstate_calc_busy. Instead, get the pointer from
cpudata. Also, remove the unused SAMPLE_COUNT macro.
While at it, reformat the first line in this function.
Signed-off-by: Stratos Karafotis <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Acked-by: Dirk Brandewie <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions