You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/01/17 17:18:24 UTC
(nuttx) branch master updated: arch/: remove duplicated task exit logs
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 1e9434e2db arch/: remove duplicated task exit logs
1e9434e2db is described below
commit 1e9434e2db5cbc8bb4a93632e27a80b5fa29019d
Author: Yanfeng Liu <yf...@qq.com>
AuthorDate: Wed Jan 17 15:07:13 2024 +0800
arch/: remove duplicated task exit logs
Newly added logging in `sched/task_exit.c` obsoletes the existing
ones in `arch/up_exit()`, thus remove the latter to reduce duplications.
Signed-off-by: Yanfeng Liu <yf...@qq.com>
---
arch/arm/src/common/arm_exit.c | 2 --
arch/avr/src/common/avr_exit.c | 2 --
arch/hc/src/common/hc_exit.c | 2 --
arch/mips/src/common/mips_exit.c | 2 --
arch/misoc/src/lm32/lm32_exit.c | 2 --
arch/misoc/src/minerva/minerva_exit.c | 2 --
arch/or1k/src/common/or1k_exit.c | 2 --
arch/renesas/src/common/renesas_exit.c | 2 --
arch/risc-v/src/common/riscv_exit.c | 2 --
arch/sim/src/sim/sim_exit.c | 2 --
arch/sparc/src/common/sparc_exit.c | 2 --
arch/x86/src/common/x86_exit.c | 2 --
arch/x86_64/src/common/x86_64_exit.c | 2 --
arch/xtensa/src/common/xtensa_exit.c | 2 --
arch/z16/src/common/z16_exit.c | 2 --
arch/z80/src/common/z80_exit.c | 2 --
16 files changed, 32 deletions(-)
diff --git a/arch/arm/src/common/arm_exit.c b/arch/arm/src/common/arm_exit.c
index 2a68b93ddb..0f12c17600 100644
--- a/arch/arm/src/common/arm_exit.c
+++ b/arch/arm/src/common/arm_exit.c
@@ -62,8 +62,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/avr/src/common/avr_exit.c b/arch/avr/src/common/avr_exit.c
index 5dd28dc7ba..99da35aecd 100644
--- a/arch/avr/src/common/avr_exit.c
+++ b/arch/avr/src/common/avr_exit.c
@@ -61,8 +61,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/hc/src/common/hc_exit.c b/arch/hc/src/common/hc_exit.c
index 447f417cde..7f5c454da2 100644
--- a/arch/hc/src/common/hc_exit.c
+++ b/arch/hc/src/common/hc_exit.c
@@ -60,8 +60,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/mips/src/common/mips_exit.c b/arch/mips/src/common/mips_exit.c
index ff95efca41..ea0b36cc98 100644
--- a/arch/mips/src/common/mips_exit.c
+++ b/arch/mips/src/common/mips_exit.c
@@ -62,8 +62,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/misoc/src/lm32/lm32_exit.c b/arch/misoc/src/lm32/lm32_exit.c
index 535186f416..455d25dc0d 100644
--- a/arch/misoc/src/lm32/lm32_exit.c
+++ b/arch/misoc/src/lm32/lm32_exit.c
@@ -62,8 +62,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/misoc/src/minerva/minerva_exit.c b/arch/misoc/src/minerva/minerva_exit.c
index 36f771839d..f3d6c17898 100644
--- a/arch/misoc/src/minerva/minerva_exit.c
+++ b/arch/misoc/src/minerva/minerva_exit.c
@@ -62,8 +62,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/or1k/src/common/or1k_exit.c b/arch/or1k/src/common/or1k_exit.c
index a5360b6570..eef1a01c30 100644
--- a/arch/or1k/src/common/or1k_exit.c
+++ b/arch/or1k/src/common/or1k_exit.c
@@ -62,8 +62,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/renesas/src/common/renesas_exit.c b/arch/renesas/src/common/renesas_exit.c
index 35e16d1d98..27abbdd009 100644
--- a/arch/renesas/src/common/renesas_exit.c
+++ b/arch/renesas/src/common/renesas_exit.c
@@ -60,8 +60,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/risc-v/src/common/riscv_exit.c b/arch/risc-v/src/common/riscv_exit.c
index 8260754a75..86619cb3f5 100644
--- a/arch/risc-v/src/common/riscv_exit.c
+++ b/arch/risc-v/src/common/riscv_exit.c
@@ -62,8 +62,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/sim/src/sim/sim_exit.c b/arch/sim/src/sim/sim_exit.c
index fe4be9fa14..53a2221d51 100644
--- a/arch/sim/src/sim/sim_exit.c
+++ b/arch/sim/src/sim/sim_exit.c
@@ -58,8 +58,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", this_task());
-
/* Destroy the task at the head of the ready to run list. */
nxtask_exit();
diff --git a/arch/sparc/src/common/sparc_exit.c b/arch/sparc/src/common/sparc_exit.c
index 17dc6842e0..c81a5a381e 100644
--- a/arch/sparc/src/common/sparc_exit.c
+++ b/arch/sparc/src/common/sparc_exit.c
@@ -62,8 +62,6 @@ void up_exit(int status)
(void)enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Update scheduler parameters */
diff --git a/arch/x86/src/common/x86_exit.c b/arch/x86/src/common/x86_exit.c
index 8b0c2a4231..a26e3914af 100644
--- a/arch/x86/src/common/x86_exit.c
+++ b/arch/x86/src/common/x86_exit.c
@@ -61,8 +61,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/x86_64/src/common/x86_64_exit.c b/arch/x86_64/src/common/x86_64_exit.c
index 916e30fd4b..43f0dcc66d 100644
--- a/arch/x86_64/src/common/x86_64_exit.c
+++ b/arch/x86_64/src/common/x86_64_exit.c
@@ -60,8 +60,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", this_task());
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/xtensa/src/common/xtensa_exit.c b/arch/xtensa/src/common/xtensa_exit.c
index 83ddcc8d64..47f7024aa0 100644
--- a/arch/xtensa/src/common/xtensa_exit.c
+++ b/arch/xtensa/src/common/xtensa_exit.c
@@ -62,8 +62,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/z16/src/common/z16_exit.c b/arch/z16/src/common/z16_exit.c
index af5fbc7f1e..85d274bf34 100644
--- a/arch/z16/src/common/z16_exit.c
+++ b/arch/z16/src/common/z16_exit.c
@@ -60,8 +60,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */
diff --git a/arch/z80/src/common/z80_exit.c b/arch/z80/src/common/z80_exit.c
index a6afa43261..9acbee62c3 100644
--- a/arch/z80/src/common/z80_exit.c
+++ b/arch/z80/src/common/z80_exit.c
@@ -62,8 +62,6 @@ void up_exit(int status)
enter_critical_section();
- sinfo("TCB=%p exiting\n", tcb);
-
nxsched_dumponexit();
/* Destroy the task at the head of the ready to run list. */