On Wed, May 14, 2025, at 9:54 AM, Mark Wielaard wrote:
> I like the testrun_compare_fuzzy name.
Nice, though I might have to end up with several versions of the function
(testrun_compare_fuzzy_stack, testrun_compare_fuzzy_stacktrace, ...).
It's an open question whether they need to be generalized to test_subr.sh,
to some other file, or kept in the local test case.
> Yes, just remove everything after @... (the symver).
> Maybe look at gcc optimization suffixes like .isra, .constprop, .clone,
> .ipa (don't know if there is some definite list).
> Try to stick to plain C, otherwise think about demangling (or not?).
Yes please :) I don't want to think about how consistent or not C++
mangling is across systems, although I think it's a standard procedure?
>> - Something better than sed for the scrubbing?
>
> It works, so...
Anything's good enough with enough comments!
> Most probably not generically. Especially not the container builders.
> But you might make some deal with a specific direct hardware worker
> admin?
Thankfully, it seems there's a fair chance I can test something without
needing root privileges, so I'm going to aim for that goal.
--
All the best,
Serhei
http://serhei.io