Message ID | 20180711133709.26788-2-y.karadz@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | [1/2] kernel-shark-qt: Deal with the "no tasks" case in kshark_get_task_pids() | expand |
On Wed, 11 Jul 2018 16:37:09 +0300 "Yordan Karadzhov (VMware)" <y.karadz@gmail.com> wrote: > 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@gmail.com> > --- Applied. Thanks Yordan! -- Steve
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);
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@gmail.com> --- kernel-shark-qt/src/libkshark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)