Sponsored Content
Full Discussion: Systemtap
Top Forums Programming Systemtap Post 302571020 by fidelity on Saturday 5th of November 2011 01:52:15 PM
Old 11-05-2011
Thanks Jim!

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.

Thanks for your help!!
Fidelity.
 

We Also Found This Discussion For You

1. Programming

systemtap returntimeofday_s and some questions

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)
Discussion started by: wakatana
2 Replies
STAPVARS(3stap) 														   STAPVARS(3stap)

NAME
stapvars - systemtap variables DESCRIPTION
The following sections enumerate the public variables provided by standard tapsets installed, (the installation path is show in the stap- paths(7) manual page). Each variable is described with a type, and its behavior/restrictions. The syntax is the same as printed with the stap option -p2. Examples: example1:long Variable "example1" contains an integer. example2:string [long] Variable "example2" is an array of strings, indexed by integers. ARGV argc:long Contains the value of the $# value: the number of command line arguments passed to the systemtap script. It is initialized with an implicit begin(-1) probe. argv:string [long] Contains each command line argument as a string. argv[1] will equal @1 if there was at least one command line argument. Arguments beyond #32 are not transcribed, and produce a warning message within the begin(-1) probe that initializes this array. NULL NULL:long Simply defined as the number 0. FILES
More files and their corresponding paths can be found in the stappaths(7) manual page. SEE ALSO
stap(1) stappaths(7) STAPVARS(3stap)
All times are GMT -4. The time now is 10:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy