aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorZheyu Ma <[email protected]>2022-05-21 06:55:17 +0100
committerMauro Carvalho Chehab <[email protected]>2022-06-20 10:30:34 +0100
commitd3741027e5787daf5f19bce99b291f3e296b8894 (patch)
treed84f895d4bf40e6254fbb8ba5af25170dba11b21 /tools/perf/scripts/python/flamegraph.py
parenta1a9b71ebd6582c94090ee5b70fb3eabf7088f22 (diff)
media: tw5864: Convert to use managed functions pcim* and devm*
When removing the module, we will get the follow flaw: [ 69.323999] remove_proc_entry: removing non-empty directory 'irq/21', leaking at least 'tw5864' [ 69.324449] WARNING: CPU: 0 PID: 395 at fs/proc/generic.c:717 remove_proc_entry+0x389/0x3f0 [ 69.326909] RIP: 0010:remove_proc_entry+0x389/0x3f0 [ 69.331089] Call Trace: [ 69.331215] <TASK> [ 69.331327] unregister_irq_proc+0x14c/0x170 [ 69.332579] tw5864_finidev+0x12a/0x190 [tw5864] [ 69.332811] pci_device_remove+0x92/0x240 Fix this by using managed functions, this makes the error handling more simpler. Signed-off-by: Zheyu Ma <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions