Home
last modified time | relevance | path

Searched refs:dprog_add (Results 1 – 2 of 2) sorted by relevance

/freebsd/cddl/contrib/opensolaris/cmd/plockstat/
H A Dplockstat.c448 dprog_add(const char *prog) in dprog_add() function
918 dprog_add("BEGIN\n{\n\tend = timestamp + "); in main()
919 dprog_add(optarg); in main()
920 dprog_add(" * 1000000000;\n}\n"); in main()
921 dprog_add("tick-10hz\n/timestamp >= end/\n"); in main()
922 dprog_add("{\n\texit(0);\n}\n"); in main()
931 dprog_add(g_hold_init); in main()
933 dprog_add(g_hold_times); in main()
935 dprog_add(g_hold_histogram); in main()
939 dprog_add(g_ctnd_init); in main()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c669 dprog_add(const char *fmt, ...) in dprog_add() function
760 dprog_add("%s\n", info->ev_acquire); in dprog_addevent()
764 dprog_add("/%s/\n", pred); in dprog_addevent()
766 dprog_add("{\n"); in dprog_addevent()
770 dprog_add("\t%s = timestamp;\n", buf); in dprog_addevent()
777 dprog_add("\t%s++;\n", buf); in dprog_addevent()
780 dprog_add("}\n\n"); in dprog_addevent()
792 dprog_add("%s\n", info->ev_name); in dprog_addevent()
793 dprog_add("/%s/\n{\n\t%s--;\n}\n\n", buf, buf); in dprog_addevent()
815 dprog_add("%s\n", info->ev_name); in dprog_addevent()
[all …]