Home
last modified time | relevance | path

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

/third_party/toybox/toys/pending/
Dbootchartd.c226 int bchartd_opt = 0; // 0=PID1, 1=start, 2=stop, 3=init in bootchartd_main() local
232 if (!strcmp("start", *toys.optargs)) bchartd_opt = 1; in bootchartd_main()
233 else if (!strcmp("stop", *toys.optargs)) bchartd_opt = 2; in bootchartd_main()
234 else if (!strcmp("init", *toys.optargs)) bchartd_opt = 3; in bootchartd_main()
237 if (bchartd_opt == 2) { in bootchartd_main()
255 if (!bchartd_opt && !getenv("PATH")) in bootchartd_main()
258 stop_logging(tmp_dir, bchartd_opt == 1 ? toys.optargs[1] : NULL); in bootchartd_main()
264 if (!bchartd_opt) { in bootchartd_main()
271 if (bchartd_opt == 1 && toys.optargs[1]) { in bootchartd_main()