Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205243
b: refs/heads/master
c: 8ed9228
h: refs/heads/master
i:
  205241: 74ac8de
  205239: 1cd1b3a
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Jun 9, 2010
1 parent a49a067 commit c254545
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: ecc55f84b2e9741f29daa787ded93986df6cbe17
refs/heads/master: 8ed92280be013180e24c84456ab6babcb07037cc
2 changes: 0 additions & 2 deletions trunk/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -4613,12 +4613,10 @@ void perf_tp_event(u64 addr, u64 count, void *record, int entry_size,
perf_sample_data_init(&data, addr);
data.raw = &raw;

rcu_read_lock();
hlist_for_each_entry_rcu(event, node, head, hlist_entry) {
if (perf_tp_event_match(event, &data, regs))
perf_swevent_add(event, count, 1, &data, regs);
}
rcu_read_unlock();

perf_swevent_put_recursion_context(rctx);
}
Expand Down

0 comments on commit c254545

Please sign in to comment.