| commit | d6f608219c1e7a6afd9f2f3f807074dc47d8b75c | [log] [tgz] |
|---|---|---|
| author | Carlo Caione <ccaione@baylibre.com> | Wed Sep 09 16:32:54 2020 +0200 |
| committer | Anas Nashif <anas.nashif@intel.com> | Wed Sep 09 15:36:43 2020 -0400 |
| tree | 2c62ca0ab3b9b9daabb5f611efd05fac8d5f6c45 | |
| parent | e8394582175eddd8cb4c1b8763fbc48d1eae7544 [diff] |
arm64: tracing: Fix double tracing When _arch_switch() API is used, the tracing of the thread swapped out is done in the C kernel code (in do_swap() for cooperative scheduling and in set_current() during preemption). In the assembly code we only have to trace the thread when swapped in. Signed-off-by: Carlo Caione <ccaione@baylibre.com>