KS_GRAPH_VIEW_FILTER_MASK and KS_EVENT_VIEW_FILTER_MASK are two bit flags used to control the visibility of an entry inside the Graphs. Both flags have to be updated when the "Apply filters to Graph" checkbox is clicked. Signed-off-by: Yordan Karadzhov <ykaradzhov@xxxxxxxxxx> --- kernel-shark-qt/src/KsUtils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel-shark-qt/src/KsUtils.cpp b/kernel-shark-qt/src/KsUtils.cpp index 5e4c9c8..8bb0970 100644 --- a/kernel-shark-qt/src/KsUtils.cpp +++ b/kernel-shark-qt/src/KsUtils.cpp @@ -67,8 +67,10 @@ void graphFilterSync(bool state) if (state) { kshark_ctx->filter_mask |= KS_GRAPH_VIEW_FILTER_MASK; + kshark_ctx->filter_mask |= KS_EVENT_VIEW_FILTER_MASK; } else { kshark_ctx->filter_mask &= ~KS_GRAPH_VIEW_FILTER_MASK; + kshark_ctx->filter_mask &= ~KS_EVENT_VIEW_FILTER_MASK; } } -- 2.17.1