diff options
author | Jani Nikula <[email protected]> | 2019-10-01 17:06:14 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2019-10-02 16:28:55 +0300 |
commit | f0a8f533adc202f7dc83961c85187794eaed9cec (patch) | |
tree | 5600de76c2e33d6f637a69a56f92c834676d9894 /tools/perf/scripts/python/stackcollapse.py | |
parent | 959b077f26a16c663816f116af8063a170233a07 (diff) |
drm/print: add drm_debug_enabled()
Add helper to check if a drm debug category is enabled. Convert drm core
to use it. No functional changes.
v2: Move unlikely() to drm_debug_enabled() (Eric)
v3: Keep unlikely() when combined with other conditions (Eric)
Cc: Eric Engestrom <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions