diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-01-31 19:55:27 +0100 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2013-02-08 18:24:34 +0100 |
commit | 1b47aefd9b6bd439a4be43c47acd22987ac22db8 (patch) | |
tree | a3d0a40ce94f7e57d4375a77a0c74c0001b4bb67 /include | |
parent | uprobes/tracing: Kill uprobe_trace_consumer, embed uprobe_consumer into trace... (diff) | |
download | linux-1b47aefd9b6bd439a4be43c47acd22987ac22db8.tar.xz linux-1b47aefd9b6bd439a4be43c47acd22987ac22db8.zip |
uprobes/perf: Always increment trace_uprobe->nhit
Move tu->nhit++ from uprobe_trace_func() to uprobe_dispatcher().
->nhit counts how many time we hit the breakpoint inserted by this
uprobe, we do not want to loose this info if uprobe was enabled by
sys_perf_event_open().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions