[PATCH] MAINTAINERS: Add arch/powerpc/kernel/trace to TRACING

Christophe Leroy posted 1 patch 4 years, 2 months ago
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
[PATCH] MAINTAINERS: Add arch/powerpc/kernel/trace to TRACING
Posted by Christophe Leroy 4 years, 2 months ago
Most architectures have ftrace related stuff in arch/*/kernel/ftrace.c
but powerpc has spread in multiple files located in
arch/powerpc/kernel/trace/

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index e127c2fb08a7..3b5943f34568 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -19592,6 +19592,7 @@ T:	git git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
 F:	Documentation/trace/ftrace.rst
 F:	arch/*/*/*/ftrace.h
 F:	arch/*/kernel/ftrace.c
+F:	arch/powerpc/kernel/trace/
 F:	fs/tracefs/
 F:	include/*/ftrace.h
 F:	include/linux/trace*.h
-- 
2.35.1
Re: [PATCH] MAINTAINERS: Add arch/powerpc/kernel/trace to TRACING
Posted by Steven Rostedt 4 years, 2 months ago
On Thu, 24 Mar 2022 15:38:28 +0100
Christophe Leroy <christophe.leroy@csgroup.eu> wrote:

> diff --git a/MAINTAINERS b/MAINTAINERS
> index e127c2fb08a7..3b5943f34568 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -19592,6 +19592,7 @@ T:	git git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
>  F:	Documentation/trace/ftrace.rst
>  F:	arch/*/*/*/ftrace.h
>  F:	arch/*/kernel/ftrace.c
> +F:	arch/powerpc/kernel/trace/

Perhaps replace the above two with:
   F:   arch/*/*/ftrace*
   F:   arch/*/*/*/ftrace*

As we also have things like ftrace_32.S, ftrace_64.S

Maybe even add:

   F: arch/*/*/*_ftrace.*
   F: arch/*/*/*/*_ftrace.*

to catch the "entry_ftrace.S" and friends (needing the leading "_" to not
get confused by any "bpftrace" files).

?

But in reality, I'm only a reviewer for ftrace in the archs. It really is
maintained by the arch maintainers. But it is still good that I get Cc'd on
any ftrace arch related changes.

-- Steve


>  F:	fs/tracefs/
>  F:	include/*/ftrace.h
>  F:	include/linux/trace*.h