summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-02-12 20:01:36 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-02-15 14:31:12 +0300
commit50d6b9d56e69563d3b261ee25bc644c59c5bff58 (patch)
tree9bf0f919315adb02c61dca792cebc7c6582a6b03 /tools/perf/scripts/python/stackcollapse.py
parent2327960f0c5ecd7a285e69284b6ec3fdbd2757be (diff)
downloadlinux-50d6b9d56e69563d3b261ee25bc644c59c5bff58.tar.xz
auxdisplay: linedisp: Use unique number for id
The absence of decrementation of linedisp_id is incorrect in two ways, i.e. it may cause: - an ID exhaustion - (and if the above is addressed) a duplicate id number may be allocated next time a device is added Replace above mentioned approach by using IDA framework. Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions