summary refs log tree commit diff
path: root/ripple/minitrace
diff options
context:
space:
mode:
authoredef <edef@unfathomable.blue>2022-07-29 23:03:59 +0000
committeredef <edef@unfathomable.blue>2022-07-29 23:03:59 +0000
commitdb58b80ac7d1cc4f16ef1bc21146de9ab6e90302 (patch)
tree545de11b08327641fa387ebdf8a954f07a55edbf /ripple/minitrace
parentb244a13e3b1cd2ee5b091c25509e97416b49f383 (diff)
downloadunf-legacy-db58b80ac7d1cc4f16ef1bc21146de9ab6e90302.tar.zst
ripple/minitrace: log ~all syscalls to stdout
Except for times(2), which is called incessantly by cc1.

Change-Id: Ie98f022136f7b018a3fce706af194502dc4fe202
Diffstat (limited to 'ripple/minitrace')
-rw-r--r--ripple/minitrace/src/main.rs3
1 files changed, 2 insertions, 1 deletions
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
 }