summaryrefslogtreecommitdiff
path: root/Userland/DevTools/Profiler/Profile.h
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-07 13:48:32 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-07 15:26:51 +0200
commit2d6091be10ba66a2939a1722d7b866442fc2bddc (patch)
tree38caaab711a3dc3735da94a23a250d5532e6714c /Userland/DevTools/Profiler/Profile.h
parent00de3b53c8a6dd6f0ebb33b07984140be2612ed7 (diff)
downloadserenity-2d6091be10ba66a2939a1722d7b866442fc2bddc.zip
Profiler: Move filter checks into their own function
Diffstat (limited to 'Userland/DevTools/Profiler/Profile.h')
-rw-r--r--Userland/DevTools/Profiler/Profile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/DevTools/Profiler/Profile.h b/Userland/DevTools/Profiler/Profile.h
index 64572d5b03..4008884b92 100644
--- a/Userland/DevTools/Profiler/Profile.h
+++ b/Userland/DevTools/Profiler/Profile.h
@@ -174,6 +174,7 @@ public:
void set_process_filter(pid_t pid, u64 start_valid, u64 end_valid);
void clear_process_filter();
bool has_process_filter() const { return m_has_process_filter; }
+ bool process_filter_contains(pid_t pid, u32 timestamp);
bool is_inverted() const { return m_inverted; }
void set_inverted(bool);