diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2020-05-21 09:05:11 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-06-11 17:58:26 +0200 |
| commit | aaebb6547610e7c739507e389296eb36aacc7908 (patch) | |
| tree | bff4c7838e324f1ebe5bd3daf7502df897019194 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 8ef6b8a67b015b4abe74d0488569a47e1f729a9b (diff) | |
media: atomisp: reduce debug printk rate when IRQs are received
Currently, when an EOF IRQ is received, it generates two messages:
[ 59.191893] atomisp-isp2 0000:00:03.0: irq:0x200000
[ 59.191913] atomisp-isp2 0000:00:03.0: atomisp_isr EOF exp_id 142, asd 0
Flooding the dmesg with lots of messages per second. The same
pattern happens for all other IRQs.
Change the logic for printing just one message per IRQ and
rate-limit those, as, for debugging purposes, it is usually
interesting to know that IRQs are being received, but not
displaying every single one.
Acked-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions