summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-02-15 20:24:25 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2017-02-15 20:24:25 +1100
commit0d2b5cdc76ff7eef9d727c2e802213ec15d5e94f (patch)
treebff2abc14b7f0afd0be37733f885f600e2628498 /tools/perf/scripts/python/stackcollapse.py
parent454593e54cac126a0f49d4b65f90a5e518c51404 (diff)
powerpc/64e: Fix bogus usage of WARN_ONCE()
WARN_ONCE() takes a condition and a format string. We were passing a constant string as the condition, and the function name as the format string. It would work, but the message would be just the function name. Fix it by just using WARN_ONCE() directly instead of if (x) WARN_ONCE(). Noticed-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions