Home
last modified time | relevance | path

Searched refs:g_config (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/latencytop/common/
H A Dlatencytop.c44 lt_config_t g_config; variable
232 g_config.lt_cfg_enable_filter = 0; in main()
233 g_config.lt_cfg_trace_sched = 0; in main()
234 g_config.lt_cfg_trace_syncobj = 1; in main()
235 g_config.lt_cfg_low_overhead_mode = 0; in main()
236 g_config.lt_cfg_trace_pid = 0; in main()
237 g_config.lt_cfg_trace_pgid = 0; in main()
239 g_config.lt_cfg_snap_interval = 1000; in main()
241 g_config.lt_cfg_config_name = NULL; in main()
243 g_config.lt_cfg_config_name = lt_strdup(DEFAULT_CONFIG_NAME); in main()
[all …]
H A Ddwrapper.c44 ((!g_config.lt_cfg_trace_sched && 0 == (pid)) || pid_self == (pid))
421 if (g_config.lt_cfg_enable_filter) { in lt_dtrace_init()
430 if (g_config.lt_cfg_trace_syncobj) { in lt_dtrace_init()
439 if (g_config.lt_cfg_trace_sched) { in lt_dtrace_init()
448 if (g_config.lt_cfg_trace_pid != 0) { in lt_dtrace_init()
450 g_config.lt_cfg_trace_pid); in lt_dtrace_init()
458 if (g_config.lt_cfg_trace_pgid != 0) { in lt_dtrace_init()
460 g_config.lt_cfg_trace_pgid); in lt_dtrace_init()
468 if (g_config.lt_cfg_low_overhead_mode) { in lt_dtrace_init()
541 if (!force && now - last_snap < g_config.lt_cfg_snap_interval) { in lt_dtrace_work()
[all …]
H A Dtable.c621 if (g_config.lt_cfg_config_name != NULL) { in lt_table_init()
623 fp = fopen(g_config.lt_cfg_config_name, "r"); in lt_table_init()
648 g_config.lt_cfg_config_name); in lt_table_init()
H A Dlatencytop.h155 extern lt_config_t g_config; /* The global settings */
H A Ddisplay.c967 if (g_config.lt_cfg_low_overhead_mode) { in lt_display_loop()
978 if (g_config.lt_cfg_trace_syncobj) { in lt_display_loop()
981 } else if (g_config.lt_cfg_low_overhead_mode) { in lt_display_loop()