aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2019-10-16 16:26:01 +0200
committerGeert Uytterhoeven <[email protected]>2019-11-01 13:42:51 +0100
commitad7fe1a1a35994a201497443b5140bf54b074cca (patch)
treef3a402635d4c3e2c7cb31a919926b2cdca85e57e /tools/perf/scripts/python/syscall-counts-by-pid.py
parentf846d1e704f2d07a7f359f65eac2c8cac565db35 (diff)
pinctrl: sh-pfc: Do not use platform_get_irq() to count interrupts
As platform_get_irq() now prints an error when the interrupt does not exist, counting interrupts by looping until failure causes the printing of scary messages like: sh-pfc e6060000.pin-controller: IRQ index 0 not found Fix this by using the platform_irq_count() helper instead. Fixes: 7723f4c5ecdb8d83 ("driver core: platform: Add an error message to platform_get_irq*()") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Yoshihiro Shimoda <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Tested-by: Yoshihiro Shimoda <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions