-
richlowe
danmcd: cxgbetool needs the duplicate static/nonstatic names fixed
-
richlowe
danmcd: however, if you need to work out which is which, you'll find the static one is (obviously) local, and the non-static one global
-
richlowe
danmcd: so you can look with elfdump -s, and compare to your address
-
richlowe
[48] 0x080559e5 0x000000a3 FUNC LOCL D 0 .text dump_block_regs
-
richlowe
[96] 0x08054aa8 0x000000a3 FUNC GLOB D 1 .text dump_block_regs
-
danmcd
Yeah... elfdump -s is my friend, isn't it? (And I think I managed to tease it out given where it dumped core and the disassembly vs. the C code).
-
danmcd
Thank you for confirming my gut, however, that something Is Very Wrong there w.r.t. names.
-
richlowe
I wonder how much it would suck to make check_rtime complain about this, it obviously should.
-
richlowe
hadfl: you enjoy modifying 90's perl, right? :)
-
jbk
heh.. that's on my list to replace
-
jbk
i've almost got interface_check done (C replacement)... though I was also thinking find_elf, interface_check, and check_rtime could just be combined into one program (w/ aliases and still produce all the output from all three)
-
jbk
since right now basically you run find_elf, take it's output, run that into interface_check
-
jbk
etc
-
jbk
at least on my system (which I know is getting old) it'd knock off several minutes off the total nightly time
-
sommerfeld
figuring out a way to parallelize it (so you can use more than one CPU on a task that is serialized at the end of the build) would also be clever..
-
jbk
i haven't done the check_rtime bits, but at least for interface_check, the C version runs in 0.2s single threaded... but maybe the check_rtime bits might benefit
-
jbk
i just need to finish validating some of the bits for interface_check before throwing it up for review...
-
jbk
i've not been able to find any relevant standards that say how the ELF versioning bits are supposed to work, so I've been having to reverse engineer what pvs is doing, so that's taken longer to be sure i've captured it correctly
-
jbk
(there's one more check I need to tweak, but if my suspicion is correct, I don't think it'll have a measureable change on the runtime)
-
jbk
specifically, what is considered a 'top' version... the more obvious one is a version that nothing else references... however it appears that if the only thing referencing a version are all weak versions (I'm not really sure what the correct nomenclature would be here)
-
jbk
that is also considered a top version
-
jbk
but that's just from examination, i need to verify that is in fact the correct criteria
-
jbk
err from observation
-
jbk
find_elf was a couple of minutes IIRC
-
jbk
and check_rtime is several minutes long
-
jbk
from looking at some old data
-
gitomat
[illumos-gate] 16871 lgrpplat.c: array subscript -1 is below array bounds -- Andy Fiddaman <illumos⊙fn>
-
gitomat
[illumos-gate] 16005 Need RFC8106 definitions in icmp6.h -- Bill Sommerfeld <sommerfeld⊙ame>