00:15
<
agentzh >
writing tests took me much longer :P
00:16
<
fche >
hm, not sure it should need to be a new_stat
00:19
<
fche >
e.g. if the array has already been analyzed with a prior op, like for stat_9.stp
00:19
<
fche >
println(@count(a[2]) before the foreach
00:20
<
fche >
hm, I see the visit_stat_op structure is similar
00:21
fche has quit [Quit: Leaving]
00:24
fche has joined #systemtap
00:24
<
fche >
sorry, irc malfunction
00:25
<
fche >
anyway upon rereading the code lgtm, thanks dude
00:26
<
agentzh >
good to commit?
00:26
<
agentzh >
great, thanks
00:27
<
agentzh >
fche: yeah, i could save the new_stat for the other branch.
00:27
<
agentzh >
if you wish.
00:27
<
fche >
yeah, no big deal, it's just a little bit of stack memory, auto-freed
00:28
<
fche >
so it's fine as is
00:30
<
agentzh >
just made this change
00:31
<
agentzh >
code is shorter now.
00:31
<
fche >
if statistics_decl ctor could be given the stat_ops flag as a param, even shorter
00:34
<
fche >
well sure, would just change the class decl to take one (optionally)
00:34
<
agentzh >
ah, that's a bigger change.
00:35
<
agentzh >
you want me to do that?
00:35
<
fche >
not much, just a few more lines in session.h
00:35
<
agentzh >
doing now :)
00:35
<
fche >
- statistic_decl()
00:35
<
fche >
- linear_low(0), linear_high(0), linear_step(0), bit_shift(0), stat_ops(0)
00:35
<
fche >
+ linear_low(0), linear_high(0), linear_step(0), bit_shift(0), stat_ops(_stat_ops)
00:35
<
fche >
: type(none),
00:35
<
fche >
+ statistic_decl(int _stat_ops = 0)
00:36
<
fche >
hm wonder if sorting by variance works
00:40
<
agentzh >
fche: it doesn't.
00:41
<
fche >
ok. am sure we could make it work, but not important
00:41
<
agentzh >
it takes arguments though.
00:42
<
agentzh >
unlike the other @xxx.
00:42
<
agentzh >
so maybe @variance(...)+ ?
00:42
<
fche >
could be made to work, but probably not worth the effort.
00:42
<
agentzh >
i'll leave it as a TODO then.
00:43
<
agentzh >
the @xxx+ feature is not documented in the reference manual it seems.
00:43
<
agentzh >
i found them in the source code.
00:44
<
fche >
[man stap] covers them
00:44
<
fche >
under foreach
00:45
<
agentzh >
thanks for the pointer.
00:47
<
agentzh >
committed.
01:37
<
fche >
right, we came across that a few weeks ago, right?
03:05
higgins` has quit [Quit: Leaving]
03:12
<
agentzh >
fche: yeah. great.
03:16
<
agentzh >
committed.
03:18
higgins has joined #systemtap
04:12
orivej has quit [Ping timeout: 244 seconds]
04:37
_whitelogger has joined #systemtap
06:35
orivej has joined #systemtap
08:32
orivej has quit [Ping timeout: 252 seconds]
10:07
orivej has joined #systemtap
10:15
orivej has quit [Ping timeout: 252 seconds]
11:09
orivej has joined #systemtap
11:49
orivej has quit [Ping timeout: 272 seconds]
12:40
_whitelogger has joined #systemtap
14:36
mjw has joined #systemtap
14:52
mjw has quit [Quit: Leaving]
15:48
orivej has joined #systemtap
16:03
jhg_ has quit [Ping timeout: 252 seconds]
17:15
orivej has quit [Ping timeout: 272 seconds]
20:18
<
fche >
agentzh, looks good
20:18
* fche
won't be able to talk live for a few days
21:21
orivej has joined #systemtap
22:39
<
agentzh >
fche: great. thanks
23:52
orivej has quit [Ping timeout: 272 seconds]