]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: ensure new SDT info generation works on sparc64
authorKris Van Hees <kris.van.hees@oracle.com>
Wed, 14 Sep 2016 10:40:19 +0000 (06:40 -0400)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 14 Oct 2016 17:05:43 +0000 (18:05 +0100)
commit0cfa93f7150627f850f2d5af2a5133ffb17fd07c
tree70615231258ba9ff68242126f4e95cac73bc3f6c
parentee48107867e6d7b5d6f9ab276acf619e74eca7d2
dtrace: ensure new SDT info generation works on sparc64

Due to addresses on sparc64 being in the lower range of the memory map, the
calculated addresses for SDT probe points were represented with less hex
characters then their function base address counterparts (obtained from
objdump output).  This messed up the sorting based on address values, and
resulted in all probe points being associated with the last function in the
list.

This commit ensures that all addresses are 16 hex characters long.

Orabug: 24655168

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Acked-by: Nick Alcock <nick.alcock@oracle.com>
scripts/dtrace_sdt.sh