diff options
author | Mattias Andrée <maandree@kth.se> | 2020-05-30 22:58:04 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-05-30 22:58:04 +0200 |
commit | 783dc9ce1c729ce171a4a460703bdd413bce6364 (patch) | |
tree | af846446517b4c184e216fd82aa83a2c83034796 /common.h | |
parent | Add todo about different (bad) behaviour under valgrind (diff) | |
download | sctrace-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, ...); |