mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
capture-condition: add matcher for counter ids
This lets us focus on the query of "show me all events related to counter X" rather than the implementation details. Which means later on, if we build a real index, we can optimize this without changing user code.
This commit is contained in:
@ -32,6 +32,8 @@ SpCaptureCondition *sp_capture_condition_new_where_time_between (gint64
|
||||
gint64 end_time);
|
||||
SpCaptureCondition *sp_capture_condition_new_where_pid_in (guint n_pids,
|
||||
const GPid *pids);
|
||||
SpCaptureCondition *sp_capture_condition_new_where_counter_in (guint n_counters,
|
||||
const guint *counters);
|
||||
gboolean sp_capture_condition_match (const SpCaptureCondition *self,
|
||||
const SpCaptureFrame *frame);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user