mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
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]>
12 lines
250 B
Bash
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
|