Re: [RFC PATCH] perf/stat: Add --disable-hwdt

From: Borislav Petkov
Date: Mon Feb 06 2017 - 08:23:59 EST


On Mon, Feb 06, 2017 at 02:18:32PM +0100, Robert Richter wrote:
> Isn't there the danger the previous watchdog state is never restored
> if for some reason perf got killed? So maybe have some other task
> running that restores it once perf is gone.

Currently, I'm restoring it in the atexit() sighandler. Isn't that
always called?

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.