00:03
<
irker354 >
systemtap: fche systemtap.git:master * release-4.3-107-g41040e6cd / testsuite/systemtap.stress/current.stp: testsuite: current.stp module("*") defang
00:06
derek0883 has joined #systemtap
00:17
derek0883 has quit [Remote host closed the connection]
00:18
derek0883 has joined #systemtap
00:31
derek0883 has quit [Ping timeout: 240 seconds]
01:04
lijunlong has quit [Ping timeout: 240 seconds]
01:05
lijunlong has joined #systemtap
01:14
khaled has quit [Quit: Konversation terminated!]
01:15
sscox has joined #systemtap
01:18
hpt has joined #systemtap
01:28
derek0883 has joined #systemtap
02:22
derek0883 has quit [Remote host closed the connection]
02:23
derek0883 has joined #systemtap
02:24
derek0883 has quit [Remote host closed the connection]
02:24
derek0883 has joined #systemtap
02:37
derek0883 has quit [Remote host closed the connection]
02:38
derek0883 has joined #systemtap
03:03
irker354 has quit [Quit: transmission timeout]
04:40
derek0883 has quit [Remote host closed the connection]
04:41
orivej has joined #systemtap
04:42
derek0883 has joined #systemtap
05:17
derek0883 has quit [Remote host closed the connection]
05:28
derek0883 has joined #systemtap
05:32
derek0883 has quit [Remote host closed the connection]
05:34
derek0883 has joined #systemtap
06:18
derek0883 has quit [Remote host closed the connection]
07:28
_whitelogger has joined #systemtap
08:02
khaled_ has joined #systemtap
08:57
khaled_ has quit [Quit: Konversation terminated!]
08:59
khaled_ has joined #systemtap
09:13
orivej has quit [Ping timeout: 265 seconds]
09:18
mjw has joined #systemtap
09:24
sscox has quit [Ping timeout: 240 seconds]
09:39
hpt has quit [Ping timeout: 258 seconds]
13:39
tromey has joined #systemtap
14:03
amerey has joined #systemtap
14:03
<
ema >
hey! I'm testing systemtap 4.3 with linux 5.9.1, preparing a new upload for debian
14:04
<
ema >
I found that 4c5bed543b9b8c4b9cc544762afc9810938f88fa needs to be backported
14:04
<
ema >
now I'm wondering if there's anything else missing because my usual "test" command does not seem to work anymore:
14:04
<
ema >
stap -e 'probe process("/bin/ls").function("format_user") { printf("format_user(uid=%d)\n", $u) }'
14:05
<
ema >
the probe point cannot be found
14:06
<
ema >
however, if I specify the source file name in the function() match, that works:
14:07
<
ema >
stap -e 'probe process("/bin/ls").function("format_user@src/ls.c") { printf("format_user(uid=%d)\n", $u) }'
14:09
<
ema >
does this ring any bells?
14:26
orivej has joined #systemtap
14:57
sscox has joined #systemtap
15:51
<
fche >
hmmmm those should both work
15:52
<
ema >
I see that this is not true for all functions
15:53
<
ema >
stap -L 'process("/bin/ls").function("*")' | grep xnumto
15:53
<
ema >
process("/bin/ls").function("xnumtoumax@lib/xdectoint.c:36") $n_str:char const* $base:int $min:uintmax_t $max:uintmax_t $suffixes:char const* $err:char const* $err_exit:int $tnum:uintmax_t
15:53
<
ema >
stap -ve 'probe process("/bin/ls").function("xnumtoumax") { println(pp()) }'
15:53
<
ema >
this works fine ^
15:53
<
fche >
a lone function name can sometimes be resolved via minisymtab in the executables, vs. requiring debuginfo
15:54
<
fche >
not sure that explains everything tho
16:27
derek0883 has joined #systemtap
16:28
derek0883 has quit [Remote host closed the connection]
16:30
derek0883 has joined #systemtap
16:34
derek0883 has quit [Ping timeout: 240 seconds]
16:34
derek0883 has joined #systemtap
17:04
derek0883 has quit [Remote host closed the connection]
17:04
derek0883 has joined #systemtap
17:33
derek0883 has quit [Remote host closed the connection]
17:38
derek0883 has joined #systemtap
17:38
derek0883 has quit [Read error: Connection reset by peer]
17:38
derek0883 has joined #systemtap
18:24
irker464 has joined #systemtap
18:24
<
irker464 >
systemtap: alizhang systemtap.git:azhang/pr13838 * release-4.3-155-g355b8cba8 / java/Makefile.in: fix java/Makefile.in
18:34
<
irker464 >
systemtap: alizhang systemtap.git:azhang/pr13838 * release-4.3-156-gaed3356af / java/Makefile.in: fix java/Makefile.in to keep it same to master branch
18:56
<
kerneltoast >
fche, what's the oldest kernel stap officially supports?
19:07
przemoc has quit [Read error: Connection reset by peer]
19:08
przemoc has joined #systemtap
19:19
derek0883 has quit [Remote host closed the connection]
19:19
sscox has quit [Ping timeout: 260 seconds]
19:20
derek0883 has joined #systemtap
19:28
<
fche >
RHEL6 I believe, so 2.6.32+
19:35
khaled_ has quit [Ping timeout: 246 seconds]
19:47
<
kerneltoast >
wow it's older than some people on the internet
20:04
derek0883 has quit [Remote host closed the connection]
20:09
derek0883 has joined #systemtap
20:24
<
fche >
we <3 customers who run old stable software on old stable hardware
20:32
<
kerneltoast >
the debian way of life
20:35
tromey has quit [Quit: ERC (IRC client for Emacs 27.1.50)]
20:43
<
kerneltoast >
fche, you like reviewing patches?
20:43
<
fche >
what have you for us this time
20:44
<
kerneltoast >
(i left out a hunk for task_finder.c oops, but who uses task_finder.c anyway?)
20:45
<
fche >
ok, what is this supposed to fix?
20:45
<
fche >
um starting over to read from the top, never mind
20:46
<
kerneltoast >
hah, i added a commit message this time!
20:46
<
fche >
and I initially just scrolled past, bad fche, bad bad fche
20:48
<
fche >
so the effect is to move __stp_get_mm_path outside the task_lock ?
20:48
<
kerneltoast >
yeah so we can acquire the mmap sem
20:48
<
kerneltoast >
with sleeping allowed
20:49
<
fche >
is that atomic_inc_not_zero (&mm->mm_users) a Proper way of doing this - protecting the pointer across the task lock being released?
20:50
<
kerneltoast >
yeah, it's also called mmget_not_zero() in newer kernels
20:50
<
kerneltoast >
there are two refcounts in the mm struct though
20:50
<
kerneltoast >
one for the mm pointer itself, and one for the mm mappings
20:51
<
kerneltoast >
mm_users is for the mm mappings, not the mm pointer
20:52
<
kerneltoast >
i think if you have a reference to mm_users, the mm pointer won't disappear
20:52
derek0883 has quit [Remote host closed the connection]
20:54
<
kerneltoast >
yeah a valid mm_users reference (i.e. you don't increment it when it's zero) is all that's needed
21:03
<
fche >
has running this through the testsuites shown any noticeable improvement?
21:03
* fche
must head out for dinner, bck in a bit
21:06
<
kerneltoast >
fche, it fixes a really annoying bug I've been working on for a little over a month
21:06
<
kerneltoast >
where stapio is hung because its target process never gets attached to
21:07
<
kerneltoast >
I'm running the big testsuite on it now
21:13
derek0883 has joined #systemtap
21:18
khaled_ has joined #systemtap
21:27
sscox has joined #systemtap
21:44
<
irker464 >
systemtap: sultan systemtap.git:azhang/pr13838 * release-4.3-106-gb0cccb3cf / runtime/stp_utrace.c: stp_utrace: replace task_utrace_lock with non-blocking RCU read locks
21:44
<
irker464 >
systemtap: fche systemtap.git:azhang/pr13838 * release-4.3-107-g41040e6cd / testsuite/systemtap.stress/current.stp: testsuite: current.stp module("*") defang
21:44
<
fche >
that's familiar
21:44
<
irker464 >
systemtap: alizhang systemtap.git:azhang/pr13838 * release-4.3-108-g804129be1 / : PR13838: Added basic floating point support to systemtap
21:44
<
irker464 >
systemtap: alizhang systemtap.git:azhang/pr13838 * release-4.3-109-gc6018acd4 / runtime/softfloat.c: PR13838: Fixed rebase merging mistakes, delete duplicates f64_to_i64 and missing countLeadingZeros64 in runtime/softfloat.c
21:44
<
irker464 >
systemtap: alizhang systemtap.git:azhang/pr13838 * release-4.3-162-g7ce7e3811 / : PR13838: fixed format and space for softfloat.* and files under softfloat/
21:59
tux3 has quit [*.net *.split]
21:59
eichiro has quit [*.net *.split]
21:59
eichiro has joined #systemtap
21:59
tux3 has joined #systemtap
22:04
<
kerneltoast >
fche, after talking to agentzh, it seems like trying to sleep in the task finder is a pain (my patch sleeps inside an rcu read lock, oops!) and we should just error out instead
22:05
<
kerneltoast >
so the new approach will be a oneliner to error out when we cannot attach to the specified PID
22:06
<
irker464 >
systemtap: amerey systemtap.git:PR26015 * release-4.3-52-gaf08cd479 / : Make syscall arg writing conditional on _IS_SREG_ARCH
22:09
amerey has quit [Quit: Leaving]
22:37
<
fche >
what's the form of the error message when this hits?
22:37
<
kerneltoast >
ERROR: Unable to get path (error -2) for pid 12580
22:38
<
kerneltoast >
ERROR: probe process("/usr/local/openresty/nginx/sbin/nginx").end registration error (rc -2)
22:41
<
kerneltoast >
i guess it's the first patch i've shown you that makes sense :P
22:42
<
fche >
fche is over very little brain
22:42
<
fche >
mmm what's the correct quote
22:42
<
fche >
fche is a bear of very little brain
22:43
<
kerneltoast >
one of my professors would say he had very little cache when asked if remembered something
22:44
<
fche >
yeah they probably are very overcommitted with memory/contexts
22:48
orivej has quit [Ping timeout: 265 seconds]
22:48
<
kerneltoast >
oof, one of the reviews for him on ratemyprofessor says "Avoid like the covid"
22:48
<
fche >
heh, ironic as college age students rarely need to fear the bug
22:49
<
kerneltoast >
hey i don't wanna get sick
22:49
<
fche >
yeah yeah no one does
22:50
<
kerneltoast >
task finder is going to leave me immunocompromised
22:50
<
kerneltoast >
soon
*i* will be returning ENOENT
22:51
<
kerneltoast >
guessing you're not going to whip me to run the full testsuite for this one?
22:55
<
fche >
nah, ship it
22:56
<
kerneltoast >
agentzh