From d1c8e2fe7c719ba192b2d3343767eba80bc87bd9 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Tue, 25 Jun 2024 22:10:49 -0400 Subject: [PATCH] strace: Don't print the starting "_kern_" in the stats view. Same change that was made for the non-stats printing a long time ago. --- src/bin/debug/strace/strace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/debug/strace/strace.cpp b/src/bin/debug/strace/strace.cpp index 876ca6ec5b..045ba20c2f 100644 --- a/src/bin/debug/strace/strace.cpp +++ b/src/bin/debug/strace/strace.cpp @@ -536,7 +536,7 @@ print_stats(FILE* outputFile) print_to_string(&string, &length, "%6.2f %10" B_PRIu64 " %7" B_PRIu32 " %10" B_PRIu64 " %s\n", percent, stats.time, stats.count, perCall, - callIterator->first->c_str()); + callIterator->first->c_str() + 6); } print_buffer(outputFile, buffer, sizeof(buffer) - length);