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!]
derek0883 has quit [Remote host closed the connection]
sscox 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]
hpt has joined #systemtap
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
lkthomas_ has joined #systemtap
<lkthomas_> folks, I am testing scheudler.ctxswitch, but how could I sort out the most hit pid ?
orivej has joined #systemtap
derek0883 has joined #systemtap
sscox has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
_whitelogger has joined #systemtap
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #systemtap
derek0883 has quit [Remote host closed the connection]
irker972 has quit [Quit: transmission timeout]
derek0883 has joined #systemtap
khaled has joined #systemtap
derek0883 has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 260 seconds]
hpt has quit [Ping timeout: 256 seconds]
<fche> lkthomas_, hi
<fche> hm, could try popular[next_pid] <<< 1
<fche> then in the reporting loop
<fche> global popular probe scheduler.ctxswitch { popular[next_pid] <<< 1 } probe timer.s(10) { foreach (p in popular- limit 5 ) { println(p, " ", @count(popular[p])) } }
<fche> ^^^ that's a complete working one
<fche> the reporting loop (the timer.s probe) lists the top 5 pids seen (cumulatively since startup)
orivej has joined #systemtap
sscox has quit [Ping timeout: 240 seconds]
wcohen has quit [Remote host closed the connection]
wcohen has joined #systemtap
orivej has quit [Ping timeout: 260 seconds]
tromey has joined #systemtap
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
derek088_ has joined #systemtap
<kerneltoast> hi fche. i was looking into the utrace flag algebra, and there is just one inconsistency
<kerneltoast> specifically in finish_report_reset:
<kerneltoast> if (utrace_reset(task, utrace))
<kerneltoast> report->action = UTRACE_RESUME;
<kerneltoast> in this case, the report->action is just overwritten. is that intentional?
<kerneltoast> elsewhere, we have this:
<kerneltoast> if (action < report->action)
<kerneltoast> report->action = action;
derek0883 has quit [Ping timeout: 272 seconds]
orivej has joined #systemtap
orivej_ has joined #systemtap
orivej has quit [Ping timeout: 272 seconds]
derek088_ has quit [Remote host closed the connection]
derek0883 has joined #systemtap
orivej_ has quit [Ping timeout: 272 seconds]
<fche> I'm not sure.
<fche> Again I'd look at the original code / docs.
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
tromey has quit [Quit: ERC (IRC client for Emacs 27.1.50)]
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Ping timeout: 246 seconds]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Ping timeout: 256 seconds]
orivej has joined #systemtap
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 [Ping timeout: 260 seconds]
derek0883 has joined #systemtap
khaled has quit [Quit: Konversation terminated!]
derek0883 has quit [Ping timeout: 265 seconds]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap