# \[PATCH\] powerpc/configs: Enable STACK\_TRACER and FTRACE\_SYSCALLS in some of the configs

- Subsystems: LINUX FOR POWERPC (32-BIT AND 64-BIT), THE REST
- Maintainers: Madhavan Srinivasan, Linus Torvalds
- Status: LANDED (dcf57af201eb · 2021-06-25 04:47)
- Landed in mainline as dcf57af201eb on 2021-06-25.
- List: linuxppc-dev
- 2 messages, 2 authors
- Page: https://ratatoskr.run/linuxppc-dev/2021/05/9522876/t

## \[PATCH\] powerpc/configs: Enable STACK\_TRACER and FTRACE\_SYSCALLS in some of the configs

- From: Naveen N. Rao \<hidden\>
- Date: 2021-05-24 12:03:19 
- Message: https://ratatoskr.run/linuxppc-dev/2021/05/9522876.md

```text
Both these config options are generally enabled in distro kernels.
Enable the same in a few powerpc64 configs to get better coverage and
testing.

Signed-off-by: Naveen N. Rao <redacted>
---
 arch/powerpc/configs/powernv_defconfig | 1 +
 arch/powerpc/configs/ppc64_defconfig   | 2 ++
 arch/powerpc/configs/pseries_defconfig | 2 ++
 3 files changed, 5 insertions(+)

diff --git a/arch/powerpc/configs/powernv_defconfig b/arch/powerpc/configs/powernv_defconfig
index 2c87e856d839b0..8bfeea6c7de7b4 100644
--- a/arch/powerpc/configs/powernv_defconfig
+++ b/arch/powerpc/configs/powernv_defconfig
@@ -309,6 +309,7 @@ CONFIG_SOFTLOCKUP_DETECTOR=y
 CONFIG_HARDLOCKUP_DETECTOR=y
 CONFIG_FUNCTION_TRACER=y
 CONFIG_SCHED_TRACER=y
+CONFIG_STACK_TRACER=y
 CONFIG_FTRACE_SYSCALLS=y
 CONFIG_BLK_DEV_IO_TRACE=y
 CONFIG_PPC_EMULATED_STATS=y
diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig
index 701811c91a6f3f..0ad2291337a713 100644
--- a/arch/powerpc/configs/ppc64_defconfig
+++ b/arch/powerpc/configs/ppc64_defconfig
@@ -368,7 +368,9 @@ CONFIG_SOFTLOCKUP_DETECTOR=y
 CONFIG_HARDLOCKUP_DETECTOR=y
 CONFIG_DEBUG_MUTEXES=y
 CONFIG_FUNCTION_TRACER=y
+CONFIG_FTRACE_SYSCALLS=y
 CONFIG_SCHED_TRACER=y
+CONFIG_STACK_TRACER=y
 CONFIG_BLK_DEV_IO_TRACE=y
 CONFIG_CODE_PATCHING_SELFTEST=y
 CONFIG_FTR_FIXUP_SELFTEST=y
diff --git a/arch/powerpc/configs/pseries_defconfig b/arch/powerpc/configs/pseries_defconfig
index 50168dde4ea598..b183629f1bcfb8 100644
--- a/arch/powerpc/configs/pseries_defconfig
+++ b/arch/powerpc/configs/pseries_defconfig
@@ -289,7 +289,9 @@ CONFIG_DEBUG_STACKOVERFLOW=y
 CONFIG_SOFTLOCKUP_DETECTOR=y
 CONFIG_HARDLOCKUP_DETECTOR=y
 CONFIG_FUNCTION_TRACER=y
+CONFIG_FTRACE_SYSCALLS=y
 CONFIG_SCHED_TRACER=y
+CONFIG_STACK_TRACER=y
 CONFIG_BLK_DEV_IO_TRACE=y
 CONFIG_CODE_PATCHING_SELFTEST=y
 CONFIG_FTR_FIXUP_SELFTEST=y

base-commit: 8dbbcb8a8856c6b4e56ae705218d8dad1f9cf1e9
-- 
2.30.2

```

## Re: \[PATCH\] powerpc/configs: Enable STACK\_TRACER and FTRACE\_SYSCALLS in some of the configs

- From: Michael Ellerman \<hidden\>
- Date: 2021-06-26 10:43:52 
- Message: https://ratatoskr.run/linuxppc-dev/2021/06/9523410.md

```text
On Mon, 24 May 2021 17:32:27 +0530, Naveen N. Rao wrote:
> Both these config options are generally enabled in distro kernels.
> Enable the same in a few powerpc64 configs to get better coverage and
> testing.

Applied to powerpc/next.

[1/1] powerpc/configs: Enable STACK_TRACER and FTRACE_SYSCALLS in some of the configs
      https://git.kernel.org/powerpc/c/dcf57af201eb2ba401e62df374afb7543c81b523

cheers
```
