diff options
| author | Peter Zijlstra <[email protected]> | 2010-02-14 10:12:04 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-02-14 17:10:39 +0000 |
| commit | 6f93d0a7c83772997b81c30d6f519a9a5dbab6a9 (patch) | |
| tree | fd937bfb57964c514db2186e58c896fb7dc30647 /net/lapb/lapb_in.c | |
| parent | perf top: Fix help text alignment (diff) | |
| download | kernel-6f93d0a7c83772997b81c30d6f519a9a5dbab6a9.tar.gz kernel-6f93d0a7c83772997b81c30d6f519a9a5dbab6a9.zip | |
perf_events: Fix FORK events
Commit 22e19085 ("Honour event state for aux stream data")
introduced a bug where we would drop FORK events.
The thing is that we deliver FORK events to the child process'
event, which at that time will be PERF_EVENT_STATE_INACTIVE
because the child won't be scheduled in (we're in the middle of
fork).
Solve this twice, change the event state filter to exclude only
disabled (STATE_OFF) or worse, and deliver FORK events to the
current (parent).
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Anton Blanchard <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
LKML-Reference: <1266142324.5273.411.camel@laptop>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
