aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrey Konovalov <[email protected]>2016-10-27 17:46:21 -0700
committerLinus Torvalds <[email protected]>2016-10-27 18:43:42 -0700
commitb274c0bb394c6a69ac12feac7c2db81f5aff5a55 (patch)
treec383709eb747685e42ace2ab17f9b78be6d36045 /tools/perf/scripts/python/export-to-postgresql.py
parent86d9f48534e800e4d62cdc1b5aaf539f4c1d47d6 (diff)
kcov: properly check if we are in an interrupt
in_interrupt() returns a nonzero value when we are either in an interrupt or have bh disabled via local_bh_disable(). Since we are interested in only ignoring coverage from actual interrupts, do a proper check instead of just calling in_interrupt(). As a result of this change, kcov will start to collect coverage from within local_bh_disable()/local_bh_enable() sections. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Andrey Konovalov <[email protected]> Acked-by: Dmitry Vyukov <[email protected]> Cc: Nicolai Stange <[email protected]> Cc: Andrey Ryabinin <[email protected]> Cc: Kees Cook <[email protected]> Cc: James Morse <[email protected]> Cc: Vegard Nossum <[email protected]> Cc: Quentin Casasnovas <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions