Lines Matching refs:g_dtp
53 static dtrace_hdl_t *g_dtp; variable
107 dtrace_errmsg(g_dtp, dtrace_errno(g_dtp))); in fatal()
487 if ((g_dtp = dtrace_open(DTRACE_VERSION, 0, &err)) == NULL) { in main()
492 if ((prog = dtrace_program_strcompile(g_dtp, g_prog, in main()
496 if (dtrace_program_exec(g_dtp, prog, &info) == -1) in main()
499 if (dtrace_setopt(g_dtp, "aggsize", "128k") == -1) in main()
502 if (dtrace_setopt(g_dtp, "aggrate", "0") == -1) in main()
505 if (dtrace_setopt(g_dtp, "aggpercpu", 0) == -1) in main()
515 if (dtrace_setopt(g_dtp, optarg, p) != 0) in main()
561 if (dtrace_go(g_dtp) != 0) in main()
566 if (dtrace_getopt(g_dtp, "statusrate", &statustime) == -1) in main()
590 if (dtrace_status(g_dtp) == -1) in main()
604 if (dtrace_aggregate_snap(g_dtp) != 0) in main()
615 if (dtrace_aggregate_walk_keyvarsorted(g_dtp, in main()
623 dtrace_aggregate_clear(g_dtp); in main()