aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-09-13 07:41:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-14 17:03:01 +0200
commit820879ee1865f7010ec3a949322f643f008c9feb (patch)
tree59e97ff1ee770f7b4367eea6a30dac69941bdf0f /tools/perf/scripts/python/event_analyzing_sample.py
parentsysfs: refactor sysfs_add_file_mode_ns (diff)
downloadlinux-820879ee1865f7010ec3a949322f643f008c9feb.tar.gz
linux-820879ee1865f7010ec3a949322f643f008c9feb.zip
sysfs: simplify sysfs_kf_seq_show
Contrary to the comment ->show is never called from lseek for sysfs, given that sysfs does not use seq_lseek. So remove the NULL ->show case and just WARN and return an error if some future code path ends up here. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210913054121.616001-7-hch@lst.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions