aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-05-30 22:58:04 +0200
committerMattias Andrée <maandree@kth.se>2020-05-30 22:58:04 +0200
commit783dc9ce1c729ce171a4a460703bdd413bce6364 (patch)
treeaf846446517b4c184e216fd82aa83a2c83034796 /common.h
parentAdd todo about different (bad) behaviour under valgrind (diff)
downloadsctrace-783dc9ce1c729ce171a4a460703bdd413bce6364.tar.gz
sctrace-783dc9ce1c729ce171a4a460703bdd413bce6364.tar.bz2
sctrace-783dc9ce1c729ce171a4a460703bdd413bce6364.tar.xz
Do not print PID numbers if only configured to trace one thread
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index c4de909..996b9ef 100644
--- a/common.h
+++ b/common.h
@@ -112,6 +112,6 @@ struct process *add_process(pid_t pid, unsigned long int trace_options);
void remove_process(struct process *proc);
/* util.c */
-void set_trace_output(FILE *fp);
+void setup_trace_output(FILE *fp, int multiprocess);
void tprintf(struct process *proc, const char *fmt, ...);
_Noreturn void eprintf(const char *fmt, ...);