]> git.baikalelectronics.ru Git - kernel.git/commit
perf beauty: Add CLEAR_SIGHAND support for clone's flags arg
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Dec 2019 16:02:25 +0000 (13:02 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Dec 2019 18:19:52 +0000 (15:19 -0300)
commitfb27865c0355c1dd33eef7a65862d183110f3faa
treef5fb215cd8072586b2712faa04fbf67cb726631f
parent2f761f5d7f16c34edd8ee55ef45987ec9d09d5fe
perf beauty: Add CLEAR_SIGHAND support for clone's flags arg

Add support for the recently added CLONE_CLEAR_SIGHAND flag.

This takes advantage of the copy of the uapi/linux/sched.h we have in
tools/include, which allows us to build tools/perf in older systems and
have the binary support printing that flag whenever that system gets its
kernel updated to one where this feature is present.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Adrian Reber <areber@redhat.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org
Link: https://lkml.kernel.org/n/tip-1vnz497ubtu5oz16ygdcul0e@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/trace/beauty/clone.c