I am a newbie to the systemtap. I was wondering is there a way I can write the data to file instead of printing on the screen. This way, I can process the systemtap output periodically using other programs.
I figured out the -o option yesterday. stap writes to a file that is read by my perl script to process the data. In doing so, sometimes, stap dies immediately after I start my perl script with an error - stap exceeded the threshold.
I gave up :-) and started using pipes. It worked well.
Hi gurus,
could you please explain few questions about systemtap.
1st
===
seems gettimeofday_s() always returns 0
stap -ve 'probe timer.s(4){ printf("%d ", gettimeofday_s()) }'
returns 0 0 0 ... also gettimeofday_ms gettimeofday_ns
When I am trying to investigate what is going on... (2 Replies)