strace: display mutex() calls as well
This commit is contained in:
parent
c069982ed9
commit
3291df4eeb
@ -189,7 +189,7 @@ fn format_byte_slice(bytes: &[u8], real_len: usize, allow_ascii: bool) -> String
|
||||
if bytes.is_empty() {
|
||||
return "<empty>".into();
|
||||
}
|
||||
if bytes[0].is_ascii_graphic() && allow_ascii {
|
||||
if allow_ascii {
|
||||
// Format as ASCII string
|
||||
write!(result, "\"").ok();
|
||||
for &byte in bytes {
|
||||
@ -372,11 +372,6 @@ impl Result {
|
||||
}
|
||||
|
||||
pub fn format_syscall(tracer: &mut CommandTracer, syscall: &SyscallTrace) {
|
||||
// Ignore mutex calls for now, they're too noisy
|
||||
if syscall.function == SyscallFunction::Mutex as usize {
|
||||
return;
|
||||
}
|
||||
|
||||
if let Some(Some(formatter)) = FORMATTERS.get(syscall.function) {
|
||||
formatter.print(tracer, &syscall.args, syscall.result);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user