script/打开hilog.bat

19 lines
369 B
Batchfile
Raw Normal View History

2025-01-22 11:12:20 +08:00
@echo off
set TOOLCHAIN_PATH=.\win
@REM 切换到工具链目录
cd %TOOLCHAIN_PATH%
.\hdc.exe kill
.\hdc.exe shell hilog -w stop
.\hdc.exe shell hilog -r
.\hdc.exe shell hilog -w start -l 100M -m none
.\hdc.exe shell hilog -Q pidoff
.\hdc.exe shell hilog -p off
.\hdc.exe shell hilog -b D
.\hdc.exe shell hilog -w start -t kmsg -m none
echo "操作完成"
pause