Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf trace: Use correct SECCOMP prefix spelling, "SECOMP_*" -> "SECCOMP_*"

The spelling of the SECCOMP is incorrect, fix these.

Signed-off-by: Colin King <colin.king@canonical.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: kernel-janitors@vger.kernel.org
Fixes: c65c83ffe904 ("perf trace: Allow asking for not suppressing common string prefixes")
Link: http://lkml.kernel.org/r/20181221084809.6108-1-colin.king@canonical.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Colin Ian King and committed by
Arnaldo Carvalho de Melo
fbe7e425 b9b6a2ea

+2 -2
+2 -2
tools/perf/trace/beauty/seccomp.c
··· 9 9 static size_t syscall_arg__scnprintf_seccomp_op(char *bf, size_t size, struct syscall_arg *arg) 10 10 { 11 11 bool show_prefix = arg->show_string_prefix; 12 - const char *prefix = "SECOMP_SET_MODE_"; 12 + const char *prefix = "SECCOMP_SET_MODE_"; 13 13 int op = arg->val; 14 14 size_t printed = 0; 15 15 ··· 34 34 struct syscall_arg *arg) 35 35 { 36 36 bool show_prefix = arg->show_string_prefix; 37 - const char *prefix = "SECOMP_FILTER_FLAG_"; 37 + const char *prefix = "SECCOMP_FILTER_FLAG_"; 38 38 int printed = 0, flags = arg->val; 39 39 40 40 #define P_FLAG(n) \