From 783dc9ce1c729ce171a4a460703bdd413bce6364 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 30 May 2020 22:58:04 +0200 Subject: Do not print PID numbers if only configured to trace one thread MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common.h') 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, ...); -- cgit v1.2.3-70-g09d2