[DTrace-devel] Issue with stack) on 6.x kernels

Kris Van Hees kris.van.hees at oracle.com
Wed May 1 13:58:38 UTC 2024


On Tue, Apr 30, 2024 at 09:48:02PM -0400, Kris Van Hees wrote:
> Newer 6.x kernels (I tried 6.5.0 and 6.8.0) seem to behave differently for
> stack() than e.g. 5,15,0,  Test test/unittest/aggs/tst.stack.d FAILs on those
> 6.x kernels whereas it passes on 5.15.0.  I am not sure yet why there is a
> difference, but Eugene, perhaps you can take a look into this?
> 
> 	Kris

Here is an example:

$ sudo ./build/run-dtrace -s test/unittest/aggs/tst.stack.d 
[sudo] password for kvanhees: 
  0xffffffffc0129e86                                
  0xffffffffc0129e86                                
  0xffffffffc0129e86                                

              0xffffffffc0130250
              0xffffffffc0130250
              0xffffffffc012b2bb
              0xffffffffc012b83c
              vmlinux`schedule+0x9

The strange thing is that it actually does give good results at times.

So I am not sure what is going on.



More information about the DTrace-devel mailing list