aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-15 10:53:36 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-16 07:24:30 +0200
commitce9fe43875d758c89f222d6b704bf63758f57635 (patch)
treed7275cba06b5e665fbc5b76a571abf2c4b39f8e2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
parenta9170e0a923553cc12c3b00d816834316ebf226b (diff)
atm: simplify procfs code
Use remove_proc_subtree to remove the whole subtree on cleanup, and unwind the registration loop into individual calls. Switch to use proc_create_seq where applicable. Also don't bother handling proc_create* failures - the driver works perfectly fine without the proc files, and the cleanup will handle missing files gracefully. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions