diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-02-10 19:45:56 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-02-10 19:45:56 -0500 |
commit | d9a8e8cf6dea7f6ebb234104bf3a2f3ed6a1ae15 (patch) | |
tree | 5736fa5df12653e3a7684ce23590d7261ad226bf | |
parent | 05e14e9fa3a392719c7cd01f4ea45b6912c2a13d (diff) |
trace-graph: Fix task plots to print events other than wake ups and scheds
A previous fix to fix sched_switch events broke printing non sched switch
events.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | trace-plot-task.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/trace-plot-task.c b/trace-plot-task.c index 45a0a32..98a0301 100644 --- a/trace-plot-task.c +++ b/trace-plot-task.c | |||
@@ -58,6 +58,9 @@ static gboolean record_matches_pid(struct graph_info *ginfo, | |||
58 | } | 58 | } |
59 | } | 59 | } |
60 | 60 | ||
61 | if (*pid == match_pid) | ||
62 | return TRUE; | ||
63 | |||
61 | return FALSE; | 64 | return FALSE; |
62 | } | 65 | } |
63 | 66 | ||