Files
linux/tools/testing/selftests/ftrace/test.d/remotes/hypervisor/hotplug.tc
T
Vincent Donnefort ec07906bdc tracing: selftests: Extend hotplug testing for trace remotes
The hotplug testing only tries reading a trace remote buffer, loaded
before a CPU is offline. Extend this testing to cover:

  * A trace remote buffer loaded after a CPU is offline.
  * A trace remote buffer loaded before a CPU is online.

Because of these added test cases, move the hotplug testing into a
separate hotplug.tc file.

Acked-by: Steven Rostedt (Google) <[email protected]>
Signed-off-by: Vincent Donnefort <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>
2026-04-02 14:16:09 +01:00

12 lines
250 B
Bash

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# description: Test hypervisor trace read with an offline CPU
# requires: remotes/hypervisor/write_event
SOURCE_REMOTE_TEST=1
. $TEST_DIR/remotes/hotplug.tc
set -e
setup_remote "hypervisor"
test_hotplug