diff options
-rw-r--r-- | trace-filter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trace-filter.c b/trace-filter.c index 54333ee..befa209 100644 --- a/trace-filter.c +++ b/trace-filter.c | |||
@@ -1230,7 +1230,8 @@ create_tree_event_model(struct tracecmd_input *handle, | |||
1230 | 1230 | ||
1231 | normal = TRUE; | 1231 | normal = TRUE; |
1232 | if (active && filter) { | 1232 | if (active && filter) { |
1233 | if (!pevent_filter_event_has_trivial(filter, event->id, | 1233 | if (pevent_event_filtered(filter, event->id) && |
1234 | !pevent_filter_event_has_trivial(filter, event->id, | ||
1234 | FILTER_TRIVIAL_BOTH)) | 1235 | FILTER_TRIVIAL_BOTH)) |
1235 | normal = FALSE; | 1236 | normal = FALSE; |
1236 | /* Make trivial false not selected */ | 1237 | /* Make trivial false not selected */ |