Commit 0c0db501 authored by Christian Kellner's avatar Christian Kellner
Browse files

gbb info: print 'renderer' system information

parent 2817eeb4
......@@ -45,6 +45,7 @@ info_txt(int argc, char **argv)
g_auto(GStrv) cpu_info;
guint cpu_number;
guint64 mem_total;
g_autofree char *renderer;
g_autofree char *os_type;
g_autofree char *os_kernel;
g_autofree char *gnome_version;
......@@ -63,6 +64,7 @@ info_txt(int argc, char **argv)
"cpu-number", &cpu_number,
"cpu-info", &cpu_info,
"mem-total", &mem_total,
"renderer", &renderer,
"os-type", &os_type,
"os-kernel", &os_kernel,
"gnome-version", &gnome_version,
......@@ -80,6 +82,7 @@ info_txt(int argc, char **argv)
for (int i = 0; i < g_strv_length(cpu_info); i++) {
g_print(" Info [%d]: %s\n", i, cpu_info[i]);
g_print(" Renderer: %s\n", renderer);
g_print(" Memory:\n");
g_print(" Total: %" G_GUINT64_FORMAT " kB\n", mem_total);
g_print(" Bios:\n");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment