aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2013-09-11 15:47:26 +0000
committerIngo Molnar <[email protected]>2013-09-12 06:00:55 +0000
commit878b5a6efd38030c7a90895dc8346e8fb1e09b4c (patch)
tree5b58037396e9afa4799106c5c38cf9498d5db2d1 /tools/perf/util/annotate.c
parentperf/x86: Add constraint for IVB CYCLE_ACTIVITY:CYCLES_LDM_PENDING (diff)
downloadkernel-878b5a6efd38030c7a90895dc8346e8fb1e09b4c.tar.gz
kernel-878b5a6efd38030c7a90895dc8346e8fb1e09b4c.zip
uprobes: Fix utask->depth accounting in handle_trampoline()
Currently utask->depth is simply the number of allocated/pending return_instance's in uprobe_task->return_instances list. handle_trampoline() should decrement this counter every time we handle/free an instance, but due to typo it does this only if ->chained == T. This means that in the likely case this counter is never decremented and the probed task can't report more than MAX_URETPROBE_DEPTH events. Reported-by: Mikhail Kulemin <[email protected]> Reported-by: Hemant Kumar Shaw <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Anton Arapov <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions