Menu

#32 'strace -ff -c -o filename' spits out null output

other
closed-invalid
nobody
None
5
2018-03-17
2006-07-25
No

Using strace in various configurations produces varied
results; among these are... nothing! Below is a table
for the involved.

strace -ff -c ls
Gives timing output for 'ls'

strace -c -o food ls
Emits timing output into ./food

strace -ff -o food ls
Emits timing output into ./food (another bug..)

strace -ff -c -o food ls
Emits an empty file 'food'

Doing this on Ubuntu Edgy with strace -- version
4.5.14. I'm rather certain that file shouldn't be empty.

Discussion

  • Eugene Syromyatnikov

    • status: open --> closed-invalid
     
  • Eugene Syromyatnikov

    -ff is incompatible with -c as of now.
    Check has been added in cb9def6975f28933ada9d35f05c6fba9ab3fe1fd.