Package: ltrace
Version: 0.7.3-6.1
Severity: important

Dear Maintainer,

ltrace reports wrong systemcalls on x86_64.

ltrace output:
% time     seconds  usecs/call     calls      function
------ ----------- ----------- --------- --------------------
 73.18   77.943882         448    173958 SYS_getegid32
 13.12   13.978116         448     31181 SYS_madvise1

correct output:
% time     seconds  usecs/call     calls      function
------ ----------- ----------- --------- --------------------
 73.56   46.381433         413    112122 futex
 13.13    8.279804         411     20120 restart_syscall

If you build the version from master @ 
https://gitlab.com/cespedes/ltrace/-/tree/ea8928dab8a0a1f549d0ed8ebc6ec563e9fa1159
(this is currently the latest commit)
and apply the pull request @
https://gitlab.com/cespedes/ltrace/-/merge_requests/1
(diff @ https://gitlab.com/cespedes/ltrace/-/merge_requests/1.diff

Then, it produces the expected output.

-- System Information:
Debian Release: 10.3
  APT prefers stable
  APT policy: (995, 'stable'), (994, 'stable-updates'), (950, 'testing'), (40, 
'unstable'), (30, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ltrace depends on:
ii  libc6        2.30-4
ii  libelf1      0.176-1.1
ii  libselinux1  2.8-1+b1

ltrace recommends no packages.

ltrace suggests no packages.

-- no debconf information

Reply via email to