Package: ltrace Version: 0.5.1-2 Severity: normal
when option -T is enabled, ltrace incorrectly counts time elapsed in calls: $ltrace -o vim.ltrace -ttt -T -S vim in output file there strings like: 1253945122.999927 strcmp("fencs", "t_bc") = -1 <0.000021> 1253945122.999986 strcmp("fencs", "t_cd") = -1 <2.000022> 1253945123.000045 strcmp("fencs", "t_ce") = -1 <0.000021> the reason is in function calc_time_spent() (process_event.c, line 259) } else { diff.tv_sec++; diff.tv_usec = 1000000 + tv.tv_usec - elem->time_spent.tv_usec; } must be "--" instead of "++" -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ltrace depends on: ii libc6 2.9-4 GNU C Library: Shared libraries ii libelfg0 0.8.10-2 an ELF object file access library ltrace recommends no packages. ltrace suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org