Re: [PATCH v2] trace: print alloca pointers as actual pointer values

Eugene Loh <[email protected]>
Newsgroups dev.linux.lists.dtrace
Message-ID <[email protected]>
Similar comments to v1:

On 9/12/25 00:16, Kris Van Hees wrote:
> Because alloca pointers are stored internally as ofssets into the

Again, s/ofssets/offsets/.

> scratchmem area, they were printed as small integers.  They are
> now printed as actual pointer values into kernel space.

And again test failures.  This time, not with the new test, but as you 
say, "Ah, tehe joy of fixing one problem only to uncover another."  So 
this time:

         test/unittest/funcs/alloca/tst.alloca-funcs.d: FAIL: expected 
results differ.
             Diff against expected:
              a/b
             -8b11/b/b3a/b//baba
             +18446671313727729520b11/b/b3a/b//baba

Here, "8" has become "18446671313727729520".  So, need some .r change 
(and some .r.p magic and possibly .d tweak).

         test/unittest/funcs/alloca/tst.string-alloca.d: FAIL: expected 
results differ.
             Diff against expected:
             -abc
             +

Here, simply a bug?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.