summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/fault.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-04-13 15:36:49 +0200
committerOleg Nesterov <oleg@redhat.com>2013-04-15 17:39:52 +0200
commit515619f209114697fabd21eed1623bfa69746815 (patch)
tree84655a5404fb290f8492f3f953f9e61007f7c3e2 /arch/x86/mm/fault.c
parent32520b2c695b23221751eb09360a6a3dd3105b52 (diff)
downloadlinux-515619f209114697fabd21eed1623bfa69746815.tar.bz2
uprobes/perf: Avoid perf_trace_buf_prepare/submit if ->perf_events is empty
perf_trace_buf_prepare() + perf_trace_buf_submit() make no sense if this task/CPU has no active counters. Change uprobe_perf_print() to return if hlist_empty(call->perf_events). Note: this is not uprobe-specific, we can change other users too. Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions