Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179736
b: refs/heads/master
c: 22e1908
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Jan 21, 2010
1 parent 973be83 commit 1e8a1b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe432200abb0d64f409895168d9ad8fbb9d8e6c6
refs/heads/master: 22e190851f8709c48baf00ed9ce6144cdc54d025
9 changes: 9 additions & 0 deletions trunk/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -3268,6 +3268,9 @@ static void perf_event_task_output(struct perf_event *event,

static int perf_event_task_match(struct perf_event *event)
{
if (event->state != PERF_EVENT_STATE_ACTIVE)
return 0;

if (event->cpu != -1 && event->cpu != smp_processor_id())
return 0;

Expand Down Expand Up @@ -3377,6 +3380,9 @@ static void perf_event_comm_output(struct perf_event *event,

static int perf_event_comm_match(struct perf_event *event)
{
if (event->state != PERF_EVENT_STATE_ACTIVE)
return 0;

if (event->cpu != -1 && event->cpu != smp_processor_id())
return 0;

Expand Down Expand Up @@ -3494,6 +3500,9 @@ static void perf_event_mmap_output(struct perf_event *event,
static int perf_event_mmap_match(struct perf_event *event,
struct perf_mmap_event *mmap_event)
{
if (event->state != PERF_EVENT_STATE_ACTIVE)
return 0;

if (event->cpu != -1 && event->cpu != smp_processor_id())
return 0;

Expand Down

0 comments on commit 1e8a1b4

Please sign in to comment.