mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-13 09:52:00 -04:00
Run cargo fmt
This commit is contained in:
parent
def8d180cb
commit
10a124701f
1 changed files with 5 additions and 1 deletions
|
@ -131,7 +131,11 @@ async fn stop_tracing() -> Result<()> {
|
||||||
async fn start_tracing(buffer_size: u32) -> Result<()> {
|
async fn start_tracing(buffer_size: u32) -> Result<()> {
|
||||||
// Start tracing
|
// Start tracing
|
||||||
let size_str = buffer_size.to_string();
|
let size_str = buffer_size.to_string();
|
||||||
fs::write(path("/sys/module/ath11k/parameters/debug_mask"), b"0xffffefff\n").await?;
|
fs::write(
|
||||||
|
path("/sys/module/ath11k/parameters/debug_mask"),
|
||||||
|
b"0xffffefff\n",
|
||||||
|
)
|
||||||
|
.await?;
|
||||||
run_script(
|
run_script(
|
||||||
TRACE_CMD_PATH,
|
TRACE_CMD_PATH,
|
||||||
&["start", "-e", "ath11k_wmi_diag", "-b", &size_str],
|
&["start", "-e", "ath11k_wmi_diag", "-b", &size_str],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue