From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 22 Oct 2024 10:36:11 +0000 Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM --- kernel/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/kernel/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc b/kernel/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc index 4fa0f79..42422e4 100644 --- a/kernel/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc +++ b/kernel/tools/testing/selftests/ftrace/test.d/instances/instance-event.tc @@ -1,11 +1,7 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0 # description: Test creation and deletion of trace instances while setting an event - -if [ ! -d instances ] ; then - echo "no instance directory with this kernel" - exit_unsupported; -fi +# requires: instances fail() { # mesg rmdir foo 2>/dev/null @@ -43,7 +39,7 @@ instance_set() { while :; do - echo 1 > foo/events/sched/sched_switch + echo 1 > foo/events/sched/sched_switch/enable done 2> /dev/null } -- Gitblit v1.6.2