mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 07:00:53 +00:00
perf: remove authorization and proxy usage from counter
This belongs in other abstractions to be more general.
This commit is contained in:
@ -109,8 +109,8 @@ typedef struct
|
||||
|
||||
typedef union
|
||||
{
|
||||
struct perf_event_header header;
|
||||
guint8 raw[0];
|
||||
struct perf_event_header header;
|
||||
guint8 raw[0];
|
||||
SysprofPerfCounterEventFork fork;
|
||||
SysprofPerfCounterEventComm comm;
|
||||
SysprofPerfCounterEventExit exit;
|
||||
@ -122,14 +122,9 @@ typedef union
|
||||
#pragma pack(pop)
|
||||
|
||||
typedef void (*SysprofPerfCounterCallback) (SysprofPerfCounterEvent *event,
|
||||
guint cpu,
|
||||
gpointer user_data);
|
||||
guint cpu,
|
||||
gpointer user_data);
|
||||
|
||||
void sysprof_perf_counter_authorize_async (GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
gboolean sysprof_perf_counter_authorize_finish (GAsyncResult *result,
|
||||
GError **error);
|
||||
GType sysprof_perf_counter_get_type (void);
|
||||
SysprofPerfCounter *sysprof_perf_counter_new (GMainContext *context);
|
||||
void sysprof_perf_counter_set_callback (SysprofPerfCounter *self,
|
||||
|
||||
Reference in New Issue
Block a user