diff options
author | Viresh Kumar <[email protected]> | 2021-01-08 16:46:52 +0530 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-01-20 12:49:40 +0000 |
commit | 47b10b737c0794c2fa584d7c8103b485e274ed51 (patch) | |
tree | 5161c1cee7615b1d228a2cb6d2a1390192b42592 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 384e5699e101b1ee184590a39ee60f10ec0d36b6 (diff) |
arm64: topology: Reorder init_amu_fie() a bit
This patch does a couple of optimizations in init_amu_fie(), like early
exits from paths where we don't need to continue any further, avoid the
enable/disable dance, moving the calls to
topology_scale_freq_invariant() just when we need them, instead of at
the top of the routine, and avoiding calling it for the third time.
Reviewed-by: Ionela Voinescu <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Tested-by: Ionela Voinescu <[email protected]>
Link: https://lore.kernel.org/r/a732e71ab9ec28c354eb28dd898c9b47d490863f.1610104461.git.viresh.kumar@linaro.org
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions