Re: [PATCH 23/48] perf record: Turns auxtrace_snapshot_enable into 3 states

From: Jiri Olsa
Date: Wed Feb 24 2016 - 09:44:11 EST


On Mon, Feb 22, 2016 at 09:10:50AM +0000, Wang Nan wrote:
> auxtrace_snapshot_enable has only two states (0/1). Turns it into a
> triple states enum so SIGUSR2 handler can safely do other works without
> triggering auxtrace snapshot.
>
> Signed-off-by: Wang Nan <wangnan0@xxxxxxxxxx>
> Signed-off-by: He Kuang <hekuang@xxxxxxxxxx>
> Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
> Cc: Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>
> Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> Cc: Zefan Li <lizefan@xxxxxxxxxx>
> Cc: pi3orama@xxxxxxx

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

thanks,
jirka