diff options
Diffstat (limited to 'src/trace.rs')
-rw-r--r-- | src/trace.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace.rs b/src/trace.rs index e424d09..8ce01cf 100644 --- a/src/trace.rs +++ b/src/trace.rs @@ -64,7 +64,7 @@ pub fn trace(pid: Pid, args: &Args) -> anyhow::Result<Vec<RegistersData>> { Some(filter) => filter.split(',').collect::<Vec<&str>>(), None => vec![], }; - while let Some(reg) = trace_next(pid)? { + while let Some(mut reg) = trace_next(pid)? { have_to_print ^= true; if have_to_print { if !filters.is_empty() && !filters.contains(®.name()) { |