X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fprocess.c;h=6e9ea8eca0ed8ff3839236bc0f20dc81e91aa149;hb=6aa09313722406629133b375871547fb426800ef;hp=377c396b90cab6871860cf91f8d92a9c9e089a9f;hpb=2a022368f4b37559de5d5621a88c648023493f75;p=openvswitch diff --git a/lib/process.c b/lib/process.c index 377c396b..6e9ea8ec 100644 --- a/lib/process.c +++ b/lib/process.c @@ -34,7 +34,12 @@ #include "util.h" #include "vlog.h" -VLOG_DEFINE_THIS_MODULE(process) +VLOG_DEFINE_THIS_MODULE(process); + +COVERAGE_DEFINE(process_run); +COVERAGE_DEFINE(process_run_capture); +COVERAGE_DEFINE(process_sigchld); +COVERAGE_DEFINE(process_start); struct process { struct list node; @@ -590,7 +595,7 @@ sigchld_handler(int signr OVS_UNUSED) struct process *p; COVERAGE_INC(process_sigchld); - LIST_FOR_EACH (p, struct process, node, &all_processes) { + LIST_FOR_EACH (p, node, &all_processes) { if (!p->exited) { int retval, status; do {