mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user