summaryrefslogtreecommitdiffstats
path: root/tools/include/uapi
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2017-08-01 03:55:12 +0200
committerArnaldo Carvalho de Melo2017-08-01 04:04:59 +0200
commit470de0f39e901611c366fc3d584307ba5d13406a (patch)
treeefc7eac62ccb1626074dd6283c05c36f3408f0e9 /tools/include/uapi
parenttools include uapi: Grab a copy of asm-generic/ioctls.h (diff)
downloadkernel-qcow2-linux-470de0f39e901611c366fc3d584307ba5d13406a.tar.gz
kernel-qcow2-linux-470de0f39e901611c366fc3d584307ba5d13406a.tar.xz
kernel-qcow2-linux-470de0f39e901611c366fc3d584307ba5d13406a.zip
tools perf: Do not check spaces/blank lines when checking header file copy drift
We copy headers from include/, arch/ to allow tools/ use defines, structs from newer kernels and still be able to build on older systems. We then, as part of a build, check if those copies got out of sync, when we emit a warning, so that we can check if something needs to be reflected on the tools, e.g. a 'perf trace' syscall argument beautifier needs tweaking. But we don't have to be super strict with that, for instance, extra spaces, tabs or blank lines aren't problematic, so change check-headers.sh to have "--ignore-blank-lines --ignore-space-change" as default "diff" arguments. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-d8emqpdc3m2qtzt1ei8ra2tf@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/include/uapi')
0 files changed, 0 insertions, 0 deletions