git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32520b2
)
uprobes/perf: Avoid perf_trace_buf_prepare/submit if ->perf_events is empty
author
Oleg Nesterov
<oleg@redhat.com>
Sat, 13 Apr 2013 13:36:49 +0000
(15:36 +0200)
committer
Oleg Nesterov
<oleg@redhat.com>
Mon, 15 Apr 2013 15:39:52 +0000
(17:39 +0200)
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>
No differences found