_waylend_tbm_monitor_server_list,
"get list of tbm clients",
NULL, /*args*/
- NULL, /*example*/
+ "\n"
+ "\t""wayland-tbm-monitor -list"
},
{
"show",
_waylend_tbm_monitor_server_show,
- "print all tbm_bo information for (all | server,<pid>,... ) to path (console | dlog | <filepath>)"
+ "print all tbm_surface/tbm_bo information for (all | server,<pid>,... ) to path (console | dlog | <filepath>)"
,
"<target> [<path>]\n"
- "\t\t"" <target>\n"
- "\t\t"" all - clients and server\n"
- "\t\t"" server,<pid>,... - list of targets\n"
+ "\t"" <target>\n"
+ "\t"" all - clients and server\n"
+ "\t"" server,<pid>,... - list of targets"
,
- "1,2,server dlog,console; server tmp.txt; all"
+ "\n"
+ "\t""wayland-tbm-monitor -show 1,2,server dlog,console\n"
+ "\t""wayland-tbm-monitor -show server tmp.txt\n"
+ "\t""wayland-tbm-monitor -show all"
},
{
"trace",
_waylend_tbm_monitor_server_trace,
"trace the changes or the information of the tbm_bo (command: on | off | status)"
,
- "<cmd> [<target>]\n"
- "\t\t"" on | off - turn on/off the trace\n"
- "\t\t"" status - show status of all targets\n"
- "\t\t"" <target>\n"
- "\t\t"" all - clients and server(by default)\n"
- "\t\t"" server,<pid>,... - list of targets\n"
+ "<cmd> [<resource>] [<target>]\n"
+ "\t"" <cmd>\n"
+ "\t"" on | off - turn on/off the trace\n"
+ "\t"" status - show status of all targets\n"
+ "\t"" <target>\n"
+ "\t"" all - clients and server(by default)\n"
+ "\t"" server,<pid>,... - list of targets"
,
- "on server,1,2; off;"
+ "\n"
+ "\t""wayland-tbm-monitor -trace on tbm_bo server,1,2\n"
+ "\t""wayland-tbm-monitor -trace off tbm_bo server,1,2"
},
{
"dump_snapshot",
_waylend_tbm_monitor_server_dump_snapshot,
"make dumps of all tbm_surfaces for (all | server,<pid>,... ) with scale"
,
- ""
+ "[<target>] [<scale>]\n"
+ "\t"" <target>\n"
+ "\t"" all - clients and server\n"
+ "\t"" server,<pid>,... - list of targets"
,
- "all scale=0.5; server,1,2 scale=0.5"
+ "\n"
+ "\t""wayland-tbm-monitor -dump_snapshot all scale=0.5\n"
+ "\t""wayland-tbm-monitor -dump_snapshot server,1,2 scale=0.5"
},
{
"dump_queue",
"make dumps for the tbm_surfaces which are queued with scale"
,
"<cmd> [<target>] [<scale>]\n"
- "\t\t"" <cmd>\n"
- "\t\t"" on - turn on the dump with scale\n"
- "\t\t"" off - turn off the dump\n"
- "\t\t"" status - show status of all targets\n"
- "\t\t"" <target>\n"
- "\t\t"" all - clients and server(by default)\n"
- "\t\t"" server,<pid>,... - list of targets\n"
+ "\t"" <cmd>\n"
+ "\t"" on - turn on the dump with scale\n"
+ "\t"" off - turn off the dump\n"
+ "\t"" status - show status of all targets\n"
+ "\t"" <target>\n"
+ "\t"" all - clients and server(by default)\n"
+ "\t"" server,<pid>,... - list of targets"
,
- "on scale=0.5; off"
+ "\n"
+ "\t""wayland-tbm-monitor -dump_queue all scale=0.5\n"
+ "\t""wayland-tbm-monitor -dump_queue server,1,2 scale=0.5\n"
+ "\t""wayland-tbm-monitor -dump_queue off"
}
};
int opt_size = sizeof(option_proc) / sizeof(option_proc[0]);
int i;
- _wayland_tbm_monitor_request_printf(r, "usage: %s \n\n", r->app_name);
+ _wayland_tbm_monitor_request_printf(r, "usage: %s \n", r->app_name);
for (i = 0; i < opt_size; i++) {
-
- _wayland_tbm_monitor_request_printf(r, "\t-%s\t%s\n", option_proc[i].opt, option_proc[i].desc);
+ _wayland_tbm_monitor_request_printf(r, " -%s %s\n", option_proc[i].opt, option_proc[i].desc);
if (option_proc[i].arg)
- _wayland_tbm_monitor_request_printf(r, "\t\t %s\n", option_proc[i].arg);
+ _wayland_tbm_monitor_request_printf(r, " %s\n", option_proc[i].arg);
if (option_proc[i].ex)
- _wayland_tbm_monitor_request_printf(r, "\t\t ex) %s\n", option_proc[i].ex);
+ _wayland_tbm_monitor_request_printf(r, " ex) %s\n", option_proc[i].ex);
_wayland_tbm_monitor_request_printf(r, "\n");
}
}