Package: strace
Version: 4.5.14-2
Severity: wishlist

Current behavior:

[EMAIL PROTECTED]:~$ strace -T -c sleep 2 2>&1 | grep nanosleep
   nan    0.000000           0         1           nanosleep
[EMAIL PROTECTED]:~$

Wanted behavior:

[EMAIL PROTECTED]:~$ strace -T -c sleep 2 2>&1 | grep nanosleep
   nan    2.000000           0         1           nanosleep
[EMAIL PROTECTED]:~$

The difference is that in the "wanted" case, the -T flag makes the 
summary show total wall-clock time spent in each syscall (two seconds 
for nanosleep).

Currently the -T flag is silently ignored if you combine it with -c.

Being able to combine -c and -T is really useful for diagnosing an app 
that goes slow without using any CPU time.

See also bug 443895.

  Regards //Johan

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages strace depends on:
ii  libc6                         2.7-4      GNU C Library: Shared libraries

strace recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to