fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Ping timeout: 265 seconds]
mjw has quit [Quit: Leaving]
derek0883 has joined #systemtap
orivej has quit [Ping timeout: 265 seconds]
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Ping timeout: 265 seconds]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
khaled has quit [Quit: Konversation terminated!]
derek0883 has joined #systemtap
orivej has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
khaled has joined #systemtap
derek0883 has joined #systemtap
derek0883 has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 265 seconds]
mjw has joined #systemtap
orivej has joined #systemtap
wcohen has quit [Remote host closed the connection]
wcohen has joined #systemtap
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Ping timeout: 240 seconds]
orivej_ has joined #systemtap
orivej has quit [Ping timeout: 272 seconds]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
irker926 has joined #systemtap
<irker926> systemtap: fche systemtap.git:master * release-4.4-71-gcd5b72a53 / runtime/transport/procfs.c: PR27067: set procfs traceNN files' uid/gid too
<fche> ^agentzh whoopsie
<kerneltoast> no rest for you even on the weekend eh fche
<fche> what's a weekend bud
<kerneltoast> you know, that thing
<fche> work time?
<kerneltoast> where you go to staples
<fche> hah, I wish ... our Betters in Government forced them closed again
<kerneltoast> how bout costco
<fche> that's doubleplus good
<kerneltoast> the apple tech on display at costco is covered in a thick layer of grease and dead skin cells though
<fche> let's hope that's all
<kerneltoast> it's free real estate
<kerneltoast> i know stap is basically the infinity gauntlet for linux but what things does one do with it
<kerneltoast> mostly debug userspace?
<kerneltoast> i've tried thinking up ways to use it for my own stuff but printk does the job already
<kerneltoast> and writing stap code is hard
<fche> writing stap code is hard?
<fche> tell me more
* fche is motivated to make it easier
<kerneltoast> it has a bunch of features i end up finding from groking around in the source
<kerneltoast> the beginner guide just has some scheduler tracing basics iirc
<fche> where would you expect to have found those features?
<kerneltoast> i guess the documentation is so verbose that i just wouldn't know whether the things i've encountered are documented or not
<kerneltoast> i can't imagine where probe locking stuff is mentioned for the performance conscious users
derek0883 has joined #systemtap
<fche> so doc too verbose but not verbose enough to find features :(
modem has quit [Read error: Connection reset by peer]
<fche> probe locking stuff: well we just say we automatically lock. details certainly don't belong to a beginner audience
<fche> but we could write that up somewhere
<kerneltoast> doc is more like an encyclopedia
modem has joined #systemtap
<kerneltoast> and i'm too beginner to know what i'm supposed to be looking for
<kerneltoast> i also don't see a really concise doc explaining syntax
<fche> man stapref ?
<kerneltoast> a lot of the keywords lack explanations
<kerneltoast> but i didn't know about man stapref, thanks
<fche> those would be in [man stap]
<fche> [man stap] links to other docs including man stapref
<kerneltoast> there's also some interesting tapset syntax where /* something */ is actually not a comment
<fche> embedded-c pragmas? [man stap]
<kerneltoast> wew
<kerneltoast> i think an interactive tutorial would be needed for someone as dumb as me to learn
<kerneltoast> i learned C via learn-c.org
* fche is listening
* fche takes it you've seen the original stap tutorial paper?
<kerneltoast> i have with the hello-world.stp
<fche> if you like its general approach, we could certainly expand it to cover more topics/depth
<kerneltoast> i constantly reference that to write basic stap scripts
<kerneltoast> ctrl-c hello-world.stp and then that gets the ball rolling
<fche> we could certainly add a brief sample code right at the top of the stap man page
<kerneltoast> sample code would be helpful
<kerneltoast> i am absolutely guaranteed to mess something up unless i see an example
<fche> well hey, man/stap.1 is ... just another source file in the tree
<fche> feel free to plop something comforting in there, 5-10 lines or such?
* kerneltoast should learn how to write hello world from memory before punting code into the docs
<kerneltoast> but yeah https://www.sourceware.org/systemtap/tutorial.pdf is the most useful stap doc for me
<fche> ok
* fche hasn't given that any love in a long time
<fche> really good to know you'd find it useful
<fche> will put it on my todos
<fche> what about technical aids?
<fche> I am sure you've never seen stap -i or stap --monitor
<kerneltoast> have not
<kerneltoast> also, a big surprise for me was that the stap module would keep running if you didn't have an exit()
<kerneltoast> obvious in hindsight but you don't need an explicit exit in simple C programs so it never occurred to me
derek0883 has quit [Remote host closed the connection]
<fche> kerneltoast, please fire more tutorial tech / doc suggestions over time
<fche> (and feel free to add doc blurbs directly)
<kerneltoast> i can't help but worry that my suggestions suck because i still haven't written a real stap script
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
irker926 has quit [Quit: transmission timeout]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap