Skip to contentSkip to conversation

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

PATCH Applied Colin King 3 participants 3 messages Dec 21, 2018 – Jan 3, 2019

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 perf trace: use correct SECCOMP prefix spelling, "SECOMP_*" -> "SECCOMP_*"

From: Colin Ian King <[email protected]>

The spelling of the SECCOMP is incorrect, fix these.

Fixes c65c83ffe904 ("perf trace: Allow asking for not suppressing common string prefixes")
---
 tools/perf/trace/beauty/seccomp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/trace/beauty/seccomp.c +2 -2
index 4600c28a3cfe..637722e2796b 100644
@@ -9,7 +9,7 @@
 static size_t syscall_arg__scnprintf_seccomp_op(char *bf, size_t size, struct syscall_arg *arg)
 {
 	bool show_prefix = arg->show_string_prefix;
-	const char *prefix = "SECOMP_SET_MODE_";
+	const char *prefix = "SECCOMP_SET_MODE_";
 	int op = arg->val;
 	size_t printed = 0;
 
@@ -34,7 +34,7 @@ static size_t syscall_arg__scnprintf_seccomp_flags(char *bf, size_t size,
 						   struct syscall_arg *arg)
 {
 	bool show_prefix = arg->show_string_prefix;
-	const char *prefix = "SECOMP_FILTER_FLAG_";
+	const char *prefix = "SECCOMP_FILTER_FLAG_";
 	int printed = 0, flags = arg->val;
 
 #define	P_FLAG(n) \
Signature · 1 line
2.19.1
maintainer Applied
#1 lore raw

Em Fri, Dec 21, 2018 at 08:48:09AM +0000, Colin King escreveu:

Quoted 3 lines

From: Colin Ian King <[email protected]>

The spelling of the SECCOMP is incorrect, fix these.

Thanks, applied.

- Arnaldo

Quoted 30 lines
Fixes c65c83ffe904 ("perf trace: Allow asking for not suppressing common string prefixes")
---
 tools/perf/trace/beauty/seccomp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/trace/beauty/seccomp.c +2 -2
index 4600c28a3cfe..637722e2796b 100644
@@ -9,7 +9,7 @@
 static size_t syscall_arg__scnprintf_seccomp_op(char *bf, size_t size, struct syscall_arg *arg)
 {
 	bool show_prefix = arg->show_string_prefix;
-	const char *prefix = "SECOMP_SET_MODE_";
+	const char *prefix = "SECCOMP_SET_MODE_";
 	int op = arg->val;
 	size_t printed = 0;
 
@@ -34,7 +34,7 @@ static size_t syscall_arg__scnprintf_seccomp_flags(char *bf, size_t size,
 						   struct syscall_arg *arg)
 {
 	bool show_prefix = arg->show_string_prefix;
-	const char *prefix = "SECOMP_FILTER_FLAG_";
+	const char *prefix = "SECCOMP_FILTER_FLAG_";
 	int printed = 0, flags = arg->val;
 
 #define	P_FLAG(n) \
Signature · 1 line
2.19.1
Signature · 1 line
- Arnaldo
#2 lore raw

[tip:perf/urgent] perf trace: Use correct SECCOMP prefix spelling, "SECOMP_*" -> "SECCOMP_*"

In reply to Colin King
perf trace: Use correct SECCOMP prefix spelling, "SECOMP_*" -> "SECCOMP_*"
Commit-ID:  fbe7e42515af6c2ecee04b1c851f78de1d190281
Gitweb:     https://git.kernel.org/tip/fbe7e42515af6c2ecee04b1c851f78de1d190281
Author:     Colin Ian King <[email protected]>
AuthorDate: Fri, 21 Dec 2018 08:48:09 +0000
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Fri, 28 Dec 2018 16:32:54 -0300

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

The spelling of the SECCOMP is incorrect, fix these.

Cc Alexander Shishkin <[email protected]>
Cc Peter Zijlstra <[email protected]>
Fixes c65c83ffe904 ("perf trace: Allow asking for not suppressing common string prefixes")
---
 tools/perf/trace/beauty/seccomp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/trace/beauty/seccomp.c +2 -2
index 4600c28a3cfe..637722e2796b 100644
@@ -9,7 +9,7 @@
 static size_t syscall_arg__scnprintf_seccomp_op(char *bf, size_t size, struct syscall_arg *arg)
 {
 	bool show_prefix = arg->show_string_prefix;
-	const char *prefix = "SECOMP_SET_MODE_";
+	const char *prefix = "SECCOMP_SET_MODE_";
 	int op = arg->val;
 	size_t printed = 0;
 
@@ -34,7 +34,7 @@ static size_t syscall_arg__scnprintf_seccomp_flags(char *bf, size_t size,
 						   struct syscall_arg *arg)
 {
 	bool show_prefix = arg->show_string_prefix;
-	const char *prefix = "SECOMP_FILTER_FLAG_";
+	const char *prefix = "SECCOMP_FILTER_FLAG_";
 	int printed = 0, flags = arg->val;
 
 #define	P_FLAG(n) \