fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
khaled has quit [Quit: Konversation terminated!]
mjw has quit [Quit: Leaving]
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
linus2 has quit [Ping timeout: 265 seconds]
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]
hpt has joined #systemtap
tonyj has quit [Remote host closed the connection]
orivej has joined #systemtap
khaled has joined #systemtap
fdalleau_away is now known as fdalleau
hpt has quit [Ping timeout: 256 seconds]
hpt has joined #systemtap
mjw has joined #systemtap
derek0883 has joined #systemtap
derek0883 has quit [Ping timeout: 260 seconds]
hpt has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 260 seconds]
khaled has quit [Quit: Konversation terminated!]
khaled has joined #systemtap
tromey has joined #systemtap
orivej has joined #systemtap
amerey has joined #systemtap
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #systemtap
<irker860> systemtap: alizhang systemtap.git:master * release-4.4-125-ge57668deb / tapsets.cxx testsuite/buildok/floatingpoint.stp: PR13838: support fp32_to_fp64 conversion automatically at functioncall synthesize level.
irker860 has joined #systemtap
derek0883 has joined #systemtap
tonyj has joined #systemtap
derek0883 has quit [Ping timeout: 264 seconds]
derek0883 has joined #systemtap
derek088_ has joined #systemtap
derek088_ has quit [Client Quit]
derek0883 has quit [Ping timeout: 244 seconds]
<ggherdov> Hello, not really a systemtap question, but close. With just the kprobe infrastructure, is there a straightforward way to attach a kprobe to a static tracepoint?
<ggherdov> AFAIU, krpobes can be attached to function+offset, so when I do, say, stap -e 'probe kernel.trace("sched:sched_switch"){...}' then it's systemtap who's doing something that with basic kprobes can't be easily done?
<fche> ggherdov, why a kprobe per se?
<fche> if you can find the call site of a tracepoint (and there can be multiple with the same name), you can definitely inject kprobes there, e.g. via probe kernel.statement("function@file.c:line") {}
<fche> though the point of tracepoints is to make it lighter weight then kprobes (subroutine calls instead of int3 exceptions)
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #systemtap
<ggherdov> fche: right. It was more to verify I understand kprobes. You confirm that I need the explicit callsites for plain kprobes. If I want to run code at tracepoints (without looking for all callsites etc), I need systemtap for that.
<ggherdov> I'm trying to read some extra MSR when the tracepoint power:cpu_frequency hits, likely my best bet is systemtap with embedded C
<fche> hm yeah I don't think perf can attach that kind of information gathering to tracepoints
<fche> and don't worry about kprobes per se vs.
<fche> just probe kernel.trace("what:ever") { value = do_msr() println(value) } function do_msr() %{ /* c code */ %}
<fche> 'that uses the tracepoint api rather than kprobes, and will work just fine
<ggherdov> right, thanks
orivej_ has quit [Ping timeout: 246 seconds]
tromey has quit [Quit: ERC (IRC client for Emacs 27.1)]
fdalleau is now known as fdalleau_away
fLiPr3VeRsE has quit [Ping timeout: 264 seconds]
fLiPr3VeRsE has joined #systemtap
xlei has quit [Excess Flood]
orivej has joined #systemtap
xlei has joined #systemtap
irker860 has quit [Quit: transmission timeout]