diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-04-14 09:01:08 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-04-14 09:01:08 -0300 |
commit | 027fa8fb63635fb984a86ec3106bc8417e074019 (patch) | |
tree | 01e61579304f4b2aa3f1f56145a4247618e9e4a1 /tools/perf/trace | |
parent | ca64d84e93762f4e587e040a44ad9f6089afc777 (diff) | |
download | linux-stable-027fa8fb63635fb984a86ec3106bc8417e074019.tar.gz linux-stable-027fa8fb63635fb984a86ec3106bc8417e074019.tar.bz2 linux-stable-027fa8fb63635fb984a86ec3106bc8417e074019.zip |
tools headers UAPI: Sync sched.h with the kernel
To get the changes in:
ef2c41cf38a7 ("clone3: allow spawning processes into cgroups")
Add that to 'perf trace's clone 'flags' decoder.
This silences this perf build warning:
Warning: Kernel ABI header at 'tools/include/uapi/linux/sched.h' differs from latest version at 'include/uapi/linux/sched.h'
diff -u tools/include/uapi/linux/sched.h include/uapi/linux/sched.h
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/trace')
-rw-r--r-- | tools/perf/trace/beauty/clone.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/trace/beauty/clone.c b/tools/perf/trace/beauty/clone.c index 062ca849c8fd..f4db894e0af6 100644 --- a/tools/perf/trace/beauty/clone.c +++ b/tools/perf/trace/beauty/clone.c @@ -46,6 +46,7 @@ static size_t clone__scnprintf_flags(unsigned long flags, char *bf, size_t size, P_FLAG(NEWNET); P_FLAG(IO); P_FLAG(CLEAR_SIGHAND); + P_FLAG(INTO_CGROUP); #undef P_FLAG if (flags) |