tools: add glxinfo/eglinfo to cli/agent variants

Always do it here for now unless we really find a reason to not have it.
This commit is contained in:
Christian Hergert
2023-08-06 15:45:33 -07:00
parent fd6e9c964e
commit 9ab48d6eeb
2 changed files with 22 additions and 0 deletions

View File

@ -545,6 +545,17 @@ Examples:\n\
if (system_bus)
sysprof_profiler_add_instrument (profiler, sysprof_dbus_monitor_new (G_BUS_TYPE_SYSTEM));
sysprof_profiler_add_instrument (profiler,
g_object_new (SYSPROF_TYPE_SUBPROCESS_OUTPUT,
"stdout-path", "eglinfo",
"command-argv", (const char * const[]) {"eglinfo", NULL},
NULL));
sysprof_profiler_add_instrument (profiler,
g_object_new (SYSPROF_TYPE_SUBPROCESS_OUTPUT,
"stdout-path", "glxinfo",
"command-argv", (const char * const[]) {"glxinfo", NULL},
NULL));
sysprof_profiler_record_async (profiler,
writer,
NULL,