fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
hpt has joined #systemtap
hkshaw has quit [Ping timeout: 265 seconds]
hkshaw has joined #systemtap
hpt_ has joined #systemtap
hpt_ has quit [Client Quit]
<ericlee>
Hi, how do I know the type of return value? like nfs.proc.open, it has 6 return values but how do I know what type shall I use when I want to print out the results?
ananth has joined #systemtap
ravi_ has joined #systemtap
hchiramm has quit [Quit: Leaving]
srikar_away is now known as srikar
ego_ has joined #systemtap
hchiramm has joined #systemtap
hchiramm has quit [Ping timeout: 250 seconds]
hchiramm has joined #systemtap
pwithnall has joined #systemtap
<lindi->
ericlee: 6 return values?
<ericlee>
lindi-, yep
<lindi->
ericlee: it's a probe, it doesn't have a return value? or do you mean the return value of the nfs_open function?
<fche>
so imagine having a table kind of sort of like that; stap> sample number ... would print the N meta files that use the word 'number' in those text fields
<fche>
(that perl script could easily generate a word: path/to/file.meta index file
<fche>
thence to let a user browse the meta file (as if cat $meta), implicitly loading the $meta.stp one as the current script
<fche>
so it could add-to or overwrite the current script (probably overwrite makes more sense)
<fche>
would that flow make sense?
ego_ has joined #systemtap
<csanting>
fche, yes. Do you think it would be a good idea to "cleanup" that index to avoid cases with non-keywords?
* fche
suggests trying it first without formal stopwords
<fche>
maybe the user has a good reason for searching for 'it' :-)
<fche>
and
<fche>
anyways
<fche>
another approach could be to just spawn out to a grep process
<fche>
ie.,
<fche>
stap> sample FOO => spawn("grep FOO $PATH_TO_SAMPLES/*/*/*.meta") and process the results
<fche>
but anyway that's sort of goofy too. this functionality sounds simple enough to be done as a shell script, so no big deal how we actually do it
<csanting>
fche, sounds good, I'll play around with these ideas
<fche>
you da man
ton31337 has joined #systemtap
<irker223>
systemtap: csanting systemtap.git:refs/heads/master * release-3.0-221-g2882325 / interactive.cxx: Update help commnd for interactive mode http://tinyurl.com/z8fnjk4