summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJoonas Lahtinen <joonas.lahtinen@linux.intel.com>2015-12-18 14:27:27 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-12-22 10:03:06 +0100
commit152b22627c67c6e5f29ad6ec939ac7e6f52e6c7d (patch)
treec3f31785dd5e454d7704786986ed8c879abb84ad /tools/perf/scripts/python/bin/stackcollapse-record
parent32753cb863af32eadc63330a6b9eaa481f83d341 (diff)
downloadlinux-152b22627c67c6e5f29ad6ec939ac7e6f52e6c7d.tar.gz
linux-152b22627c67c6e5f29ad6ec939ac7e6f52e6c7d.zip
drm/i915: Compile-time concatenate WARN_ON macro strings
Using __stringify(x) instead of #x adds support for macros as a parameter and compile-time concatenation reduces the runtime overhead. Slightly increases the .text size but should not matter. v2: - Define I915_STATE_WARN_ON though I915_STATE_WARN (Bikeshed inspiration by Chris) v3: - More specific commit message v4: - Do not directly pass arbitary string as format, instead guard with "%s" (Dave) Cc: Rob Clark <robdclark@gmail.com> Cc: Dave Gordon <david.s.gordon@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v3) Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1450441647-23924-3-git-send-email-joonas.lahtinen@linux.intel.com Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions