This patch fixes a simpel bug in the way the "Event Visible" flag of the kshark_entries is set when the data is loadded. Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@xxxxxxxxx> --- kernel-shark-qt/src/libkshark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-shark-qt/src/libkshark.c b/kernel-shark-qt/src/libkshark.c index 75b88c9..3299752 100644 --- a/kernel-shark-qt/src/libkshark.c +++ b/kernel-shark-qt/src/libkshark.c @@ -600,7 +600,7 @@ static size_t get_records(struct kshark_context *kshark_ctx, kshark_set_entry_values(kshark_ctx, rec, entry); pid = entry->pid; /* Apply event filtering. */ - ret = FILTER_NONE; + ret = FILTER_MATCH; if (adv_filter->filters) ret = pevent_filter_match(adv_filter, rec); -- 2.17.1
![]() |