aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2014-12-08 16:30:00 +0100
committerDaniel Vetter <[email protected]>2014-12-08 16:30:00 +0100
commit15a17aae5f803551981a7acc6a4058b247a7452c (patch)
tree05e11e66a229b6561f3619881eb33e08af4a62ba /tools/perf/scripts/python/syscall-counts-by-pid.py
parent8f0e2b9d95a88ca5d8349deef2375644faf184ae (diff)
drm/i915: Check mask/bit helper functions
After a bit of irc discussion we've concluded that it would be prudent to check that callers use the mask/enable paramters correctly. So add a WARN_ON. Spurred by Damien's bugfix which added _MASKED_FIELD. v2: We use WARN_ON(1) a lot to catch default cases in switch blocks which should always be extended. So this doesn't work really. Dunno why gcc only started complaining when I've moved the WARN out of the static inline helper to address a feedback from Jani. Cc: Damien Lespiau <[email protected]> Cc: Chris Wilson <[email protected]> Cc: Jani Nikula <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions