From db58b80ac7d1cc4f16ef1bc21146de9ab6e90302 Mon Sep 17 00:00:00 2001 From: edef Date: Fri, 29 Jul 2022 23:03:59 +0000 Subject: ripple/minitrace: log ~all syscalls to stdout Except for times(2), which is called incessantly by cc1. Change-Id: Ie98f022136f7b018a3fce706af194502dc4fe202 --- ripple/minitrace/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs index 287310b..cf23034 100644 --- a/ripple/minitrace/src/main.rs +++ b/ripple/minitrace/src/main.rs @@ -557,7 +557,8 @@ fn check_syscall(entry: &SyscallEntry) -> bool { } => { println!("getrandom(.., {len}, {flags:?})"); } - _ => {} + SyscallEntry::times { .. } => {} + _ => println!("{entry:?}"), } true } -- cgit 1.4.1