diff options
author | Andy Shevchenko <[email protected]> | 2015-07-06 17:29:01 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-07-06 17:42:46 +0200 |
commit | c3c65aa6d43f9e9f23f688848b08ffec97be893b (patch) | |
tree | 2fc286382e4dd15e1796c31b625d617320bebf98 /tools/perf/scripts/python/stackcollapse.py | |
parent | 68872eb9b19bbd85883262a4e0927b487653816c (diff) |
x86/platform/intel/pmc_atom: Print index of device in loop
The register mapping may change from one platform to another.
Thus, indices might be not the same on different platforms. The
patch makes the code to print the device index dynamically at
run time.
The patch also changes the for loop to iterate over the map
until a terminator is found.
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Aubrey Li <[email protected]>
Cc: Rafael J . Wysocki <[email protected]>
Cc: Kumar P Mahesh <[email protected]>
Link: http://lkml.kernel.org/r/1436192944-56496-3-git-send-email-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions