rapl: add new aid for the RAPL profiler

This commit is contained in:
Christian Hergert
2019-07-31 15:05:10 -07:00
parent 5ff150d365
commit 8712067b8e
6 changed files with 262 additions and 8 deletions

View File

@ -43,6 +43,7 @@
#include "sysprof-logs-aid.h"
#include "sysprof-marks-aid.h"
#include "sysprof-netdev-aid.h"
#include "sysprof-rapl-aid.h"
typedef enum
{
@ -636,6 +637,7 @@ sysprof_display_present_async (SysprofDisplay *self,
g_ptr_array_add (aids, sysprof_logs_aid_new ());
g_ptr_array_add (aids, sysprof_marks_aid_new ());
g_ptr_array_add (aids, sysprof_netdev_aid_new ());
g_ptr_array_add (aids, sysprof_rapl_aid_new ());
task = g_task_new (self, cancellable, callback, user_data);
g_task_set_source_tag (task, sysprof_display_present_async);