Re: [perf patch] perf doesn't delete /tmp/* file on exit

From: Namhyung Kim
Date: Thu Feb 21 2013 - 13:20:14 EST

Markus Trippelsdorf <markus <at>> writes:
> perf top doesn't unlink /tmp/* on exit.
> Fix this by calling vdso__exit() before exit(0).

> @@ -602,6 +603,7 @@ static void *display_thread_tui(void *arg)
> &top->session->header.env);
> exit_browser(0);
> + vdso__exit();
> exit(0);
> return NULL;
> }

I don't think it's enough - it doesn't cover all exit paths.
I'd suggest making it to use atexit/on_exit().


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at