mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][next] perf trace: use correct SECCOMP prefix spelling, "SECOMP_*" -> "SECCOMP_*"
@ 2018-12-21  8:48 Colin King
  2018-12-21 12:46 ` Arnaldo Carvalho de Melo
  2019-01-03 13:12 ` [tip:perf/urgent] perf trace: Use " tip-bot for Colin Ian King
  0 siblings, 2 replies; 3+ messages in thread
From: Colin King @ 2018-12-21  8:48 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Alexander Shishkin
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

The spelling of the SECCOMP is incorrect, fix these.

Fixes: c65c83ffe904 ("perf trace: Allow asking for not suppressing common string prefixes")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 tools/perf/trace/beauty/seccomp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/trace/beauty/seccomp.c b/tools/perf/trace/beauty/seccomp.c
index 4600c28a3cfe..637722e2796b 100644
--- a/tools/perf/trace/beauty/seccomp.c
+++ b/tools/perf/trace/beauty/seccomp.c
@@ -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) \
-- 
2.19.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][next] perf trace: use correct SECCOMP prefix spelling, "SECOMP_*" -> "SECCOMP_*"
  2018-12-21  8:48 [PATCH][next] perf trace: use correct SECCOMP prefix spelling, "SECOMP_*" -> "SECCOMP_*" Colin King
@ 2018-12-21 12:46 ` Arnaldo Carvalho de Melo
  2019-01-03 13:12 ` [tip:perf/urgent] perf trace: Use " tip-bot for Colin Ian King
  1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2018-12-21 12:46 UTC (permalink / raw)
  To: Colin King
  Cc: Peter Zijlstra, Ingo Molnar, Alexander Shishkin, kernel-janitors,
	linux-kernel

Em Fri, Dec 21, 2018 at 08:48:09AM +0000, Colin King escreveu:
> From: Colin Ian King <colin.king@canonical.com>
> 
> The spelling of the SECCOMP is incorrect, fix these.

Thanks, applied.

- Arnaldo
 
> Fixes: c65c83ffe904 ("perf trace: Allow asking for not suppressing common string prefixes")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  tools/perf/trace/beauty/seccomp.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tools/perf/trace/beauty/seccomp.c b/tools/perf/trace/beauty/seccomp.c
> index 4600c28a3cfe..637722e2796b 100644
> --- a/tools/perf/trace/beauty/seccomp.c
> +++ b/tools/perf/trace/beauty/seccomp.c
> @@ -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) \
> -- 
> 2.19.1

-- 

- Arnaldo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:perf/urgent] perf trace: Use correct SECCOMP prefix spelling, "SECOMP_*" -> "SECCOMP_*"
  2018-12-21  8:48 [PATCH][next] perf trace: use correct SECCOMP prefix spelling, "SECOMP_*" -> "SECCOMP_*" Colin King
  2018-12-21 12:46 ` Arnaldo Carvalho de Melo
@ 2019-01-03 13:12 ` tip-bot for Colin Ian King
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Colin Ian King @ 2019-01-03 13:12 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, alexander.shishkin, hpa, peterz, mingo, colin.king,
	tglx, acme

Commit-ID:  fbe7e42515af6c2ecee04b1c851f78de1d190281
Gitweb:     https://git.kernel.org/tip/fbe7e42515af6c2ecee04b1c851f78de1d190281
Author:     Colin Ian King <colin.king@canonical.com>
AuthorDate: Fri, 21 Dec 2018 08:48:09 +0000
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
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.

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>
---
 tools/perf/trace/beauty/seccomp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/trace/beauty/seccomp.c b/tools/perf/trace/beauty/seccomp.c
index 4600c28a3cfe..637722e2796b 100644
--- a/tools/perf/trace/beauty/seccomp.c
+++ b/tools/perf/trace/beauty/seccomp.c
@@ -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) \

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-03 13:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-21  8:48 [PATCH][next] perf trace: use correct SECCOMP prefix spelling, "SECOMP_*" -> "SECCOMP_*" Colin King
2018-12-21 12:46 ` Arnaldo Carvalho de Melo
2019-01-03 13:12 ` [tip:perf/urgent] perf trace: Use " tip-bot for Colin Ian King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®