[PATCH v11 15/30] tracing: selftests: Add trace remote tests
Steven Rostedt
rostedt at goodmis.org
Thu Feb 19 06:36:05 PST 2026
On Tue, 10 Feb 2026 15:54:16 +0000
Vincent Donnefort <vdonnefort at google.com> wrote:
> Hum weird, I have changed it in v11 to
>
> echo 0 > /sys/devices/system/cpu/cpu$cpu/online || return 0
>
> That doesn't work? Because I would simply stop the test there if we can't
> offline the CPU.
Yeah, I guess I was running the old tests. With the new tests I now have:
tools/testing/selftests/ftrace# ./ftracetest test.d/remotes/
=== Ftrace unit tests ===
[1] Test trace remote buffer size [PASS]
[2] Test hypervisor trace buffer size [UNSUPPORTED]
[3] Test hypervisor trace buffer reset [UNSUPPORTED]
[4] Test hypervisor consuming trace read [UNSUPPORTED]
[5] Test hypervisor non-consuming trace read [UNSUPPORTED]
[6] Test hypervisor trace buffer unloading [UNSUPPORTED]
[7] Test trace remote reset [PASS]
[8] Test trace remote consuming read [PASS]
[9] Test trace remote non-consuming read [PASS]
[10] Test trace remote unloading [PASS]
# of passed: 5
# of failed: 0
# of unresolved: 0
# of untested: 0
# of unsupported: 5
# of xfailed: 0
# of undefined(test bug): 0
-- Steve
More information about the linux-arm-kernel
mailing list