This is the mail archive of the systemtap@sources.redhat.com mailing list for the systemtap project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Martin Hunt wrote: [...]
I have something very similar. However, I don't see a way in your language to specify probe locations within a function. For example,
/* set a probe on function entry */ probe kernel.sys_write:entry { statements }
/* set a probe on function exit */ probe kernel.sys_write:exit { statements }
/* set a probe on a location define elsewhere (provider?) */ /* "my_location" could be a line number or address */ probe kernel.sys_write:my_location { statements }
--
I was also thinking of supporting something like
set my_func_list { kernel.sys_write:entry kernel.sys_open:entry kernel.sys_read:entry }
probe my_func_list { statements }
function_list : "function" "(" name_list ")" function_boundary ;
function_boundary : /* empty */ /* assume entry */ | "." "entry" | "." "exit" ;
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |