Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350103
b: refs/heads/master
c: 1b47aef
h: refs/heads/master
i:
  350101: b9e5045
  350099: bd95ac6
  350095: c9ec5bf
v: v3
  • Loading branch information
Oleg Nesterov committed Feb 8, 2013
1 parent 0b3f045 commit 611e134
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a932b7381f81235530c3d0acbd3ba2c7537d78e5
refs/heads/master: 1b47aefd9b6bd439a4be43c47acd22987ac22db8
3 changes: 1 addition & 2 deletions trunk/kernel/trace/trace_uprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,6 @@ static void uprobe_trace_func(struct trace_uprobe *tu, struct pt_regs *regs)
unsigned long irq_flags;
struct ftrace_event_call *call = &tu->call;

tu->nhit++;

local_save_flags(irq_flags);
pc = preempt_count();

Expand Down Expand Up @@ -701,6 +699,7 @@ static int uprobe_dispatcher(struct uprobe_consumer *con, struct pt_regs *regs)
struct trace_uprobe *tu;

tu = container_of(con, struct trace_uprobe, consumer);
tu->nhit++;

if (tu->flags & TP_FLAG_TRACE)
uprobe_trace_func(tu, regs);
Expand Down

0 comments on commit 611e134

Please sign in to comment.