aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/trace
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2018-06-04 10:28:20 -0300
committerArnaldo Carvalho de Melo2018-06-04 10:28:20 -0300
commit7869e5889477e4e32e4024d665431b35e8b7b693 (patch)
treebd1b6c00359ef7f26efc1f6b0ad9771a3d849f65 /tools/perf/trace
parent9aae1780e7e81e54edfb70ba33ead5b0b48be009 (diff)
parent4e9ae0d3d5bf4e2f1b466ba451bd18f2c5b69845 (diff)
Merge remote-tracking branch 'tip/perf/urgent' into perf/core
To pick up fixes. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/trace')
-rwxr-xr-xtools/perf/trace/beauty/prctl_option.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/trace/beauty/prctl_option.sh b/tools/perf/trace/beauty/prctl_option.sh
index 0be4138fbe71..f24722146ebe 100755
--- a/tools/perf/trace/beauty/prctl_option.sh
+++ b/tools/perf/trace/beauty/prctl_option.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-header_dir=$1
+[ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/linux/
printf "static const char *prctl_options[] = {\n"
regex='^#define[[:space:]]+PR_([GS]ET\w+)[[:space:]]*([[:xdigit:]]+).*'