fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
wmealing has joined #systemtap
<wmealing> fche: you in bro ?
<wmealing> 6 hours idle.. must be snoozing
<wmealing> dont blame him
hpt has joined #systemtap
<fche> hey wmealing
<fche> what's up?
<wmealing> hey man
<wmealing> can i hit you up on internals
<fche> sure, briefly
<wmealing> ok
<fche> (sunday 9pm her :)
<wmealing> yeah, i'll just give you a quick overview
wmealing has quit [Quit: Leaving.]
wakatana2 has joined #systemtap
wakatana2 has quit [Max SendQ exceeded]
ananth has joined #systemtap
ego has joined #systemtap
naveen has joined #systemtap
wakatana2 has joined #systemtap
wakatana2 has quit [Max SendQ exceeded]
wakatana2 has joined #systemtap
wakatana2 has quit [Read error: Connection reset by peer]
srikar_away is now known as srikar
nkambo has quit [Ping timeout: 256 seconds]
wmealing has joined #systemtap
nkambo has joined #systemtap
srikar is now known as srikar_away
srikar_away is now known as srikar
nkambo has quit [Ping timeout: 245 seconds]
josch_ has joined #systemtap
<josch_> hi, i have a simple probe like this: syscall.write {print(argstr);print("\n")}
<josch_> i would expect that this would give me part of the buffer that was written with octal encoding where it is not ascii
<josch_> but when it's supposed to print a NULL or \000 i get this printed:
<josch_> 1, "", 2
<josch_> instead i expected this:
<josch_> 1, "\000\n", 2
<josch_> bug or feature?
nkambo has joined #systemtap
naveen has quit [Ping timeout: 240 seconds]
naveen has joined #systemtap
wmealing has quit [Quit: Leaving.]
<josch_> user_string_n seems to suffer from the same problem: if the buffer starts with a null byte it will return an empty string
naveen has quit [Ping timeout: 264 seconds]
<josch_> aha, user_string_n says it handles null terminated C strings
naveen has joined #systemtap
<josch_> then the problem is, that user_string_n2_quoted in syscall.write tapset is using user_string_n
<josch_> is there a function which can also quote zero bytes for me?
nkambo has quit [Quit: Good day !]
nkambo has joined #systemtap
wmealing has joined #systemtap
hpt has quit [Ping timeout: 256 seconds]
mjw has joined #systemtap
naveen1 has joined #systemtap
naveen has quit [Ping timeout: 272 seconds]
nkambo has quit [Read error: No route to host]
scox has quit [Ping timeout: 272 seconds]
naveen1 has quit [Quit: Leaving.]
nkambo has joined #systemtap
ananth has quit [Quit: Leaving]
wcohen has quit [Ping timeout: 276 seconds]
<fche> josch_, user_string_quoted may be what you're after
<fche> or its kind
<fche> and there is also printf("%*M", length, byte_addr) for a hexdump
<fche> er, you found _quoted already
<fche> hm, I think we tweaked this part of the tapset recently; pls compare to git systemtap
<fche> I think we've been moving to the _quoted forms of the various strings in argstr, and might be missing some
<fche> (patches to fix them would be great!)
ego has quit [Ping timeout: 276 seconds]
scox has joined #systemtap
ego has joined #systemtap
srikar is now known as srikar_away
<josch_> fche: unfortunately I don't have time right now to build systemtap myself, so I recorded it as bug #19489 in your tracker
<fche> thanks
<fche> should be easy to fix, sorry for your inconvenience
<josch_> i'm happy that you are so responsive :)
wmealing has quit [Quit: Leaving.]
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
mbenitez has joined #systemtap
ego has quit [Ping timeout: 240 seconds]
drsmith has joined #systemtap
irker635 has joined #systemtap
<irker635> systemtap: fche systemtap.git:refs/heads/master * release-2.9-216-g5436c8e / man/stap.1: stap.1: highlight %.*M formatting tip http://tinyurl.com/zs7eard
jvv has joined #systemtap
<josch_> ^ that's a useful addition to the man page. %.*M indeed works well, thanks!
<fche> sorry about missing the dot the first time, gah
<fche> to see which other tapset-level fix to do, we have some work to do to inspect that function's other calls
naveen has joined #systemtap
ego has joined #systemtap
<josch_> fche: for my personal use case, %.*M will work just fine, so no rush from my side :)
<fche> thanks!
<josch_> thank you :)
brolley has joined #systemtap
srikar_away is now known as srikar
<irker635> systemtap: dsmith systemtap.git:refs/heads/dsmith/interactive * release-2.9-261-g82a5e4b / interactive.cxx: Improve interactive mode script display. http://tinyurl.com/zw37o8p
naveen has quit [Ping timeout: 255 seconds]
srikar is now known as srikar_away
ego has quit [Ping timeout: 250 seconds]
mbenitez has quit [Quit: To office]
wcohen has joined #systemtap
brolley is now known as brolley|lunch
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
mbenitez has joined #systemtap
brolley|lunch is now known as brolley
irker635 has quit [Quit: transmission timeout]
mbenitez has quit [Remote host closed the connection]
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
mbenitez has joined #systemtap
mbenitez has quit [Quit: Rebooting / upgrading]
mjw has quit [Quit: Leaving]
wcohen has quit [Ping timeout: 256 seconds]
brolley has left #systemtap [#systemtap]
drsmith has left #systemtap [#systemtap]
wmealing has joined #systemtap
sfink has quit [Ping timeout: 272 seconds]
wcohen has joined #systemtap
wmealing has quit [Quit: Leaving.]
wmealing has joined #systemtap