mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +00:00
libsysprof-profile: add API to list required policy
The idea here is that we stop having instruments do their own policy checking and instead do the policy checking as a set from the recording as part of prepare/etc.
This commit is contained in:
@ -34,6 +34,10 @@ struct _SysprofInstrument
|
||||
struct _SysprofInstrumentClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
char **(*list_required_policy) (SysprofInstrument *self);
|
||||
};
|
||||
|
||||
char **_sysprof_instrument_list_required_policy (SysprofInstrument *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user