aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorPranith Kumar <[email protected]>2015-01-21 21:26:09 -0500
committerMichael Ellerman <[email protected]>2015-01-27 14:04:00 +1100
commit6501ab5e380cf25dad85705856bfdde439dbcbd2 (patch)
tree8f070717ef59e97ddfdf0be3234d679d60e27f81 /tools/perf/util/scripting-engines/trace-event-perl.c
parent3df76a9dcc74d5f012b94ea01ed6e7aaf8362c5a (diff)
powerpc/powernv: Skip registering log region when CONFIG_PRINTK=n
When CONFIG_PRINTK=n, log_buf_addr_get() returns NULL and log_buf_len_get() return 0. Check for these return values and skip registering the dump buffer. Signed-off-by: Pranith Kumar <[email protected]> Reviewed-by: Stewart Smith <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions