summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-19 16:40:56 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-02-20 00:23:43 +0300
commit0cced76a0276610e86e8b187c09f0e9ef85b9299 (patch)
treebb95e384eca151e6ce32da4017a6eac8624be6bd /tools/perf/scripts/python/exported-sql-viewer.py
parent687b8c3938af61230bc954f5ecf349d3a449b12a (diff)
downloadlinux-0cced76a0276610e86e8b187c09f0e9ef85b9299.tar.xz
perf tools: Fix up some comments and code to properly use the event_source bus
In sysfs, the perf events are all located in /sys/bus/event_source/devices/ but some places ended up hard-coding the location to be at the root of /sys/devices/ which could be very risky as you do not exactly know what type of device you are accessing in sysfs at that location. So fix this all up by properly pointing everything at the bus device list instead of the root of the sysfs devices/ tree. Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Kan Liang <kan.liang@linux.intel.com> Link: https://lore.kernel.org/r/2025021955-implant-excavator-179d@gregkh Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions