Subject: tracing shared lib calls
To: None <>
From: Hubert Feyrer <>
List: current-users
Date: 09/07/1998 09:54:47

i just discovered that Solaris 2.6 has a command to trace shared lib calls

rfhs8036% sotruss date
date            ->*atexit(0xef7d8398, 0x21800, 0x0)
date            ->*atexit(0x1156c, 0xef7d8398,
date            ->*setlocale(0x6, 0x115ac, 0xef6246c8)
date            ->*textdomain(0x115b0, 0x115ac,
date            ->*getopt(0x1, 0xeffff7d4, 0x115c0)
date            ->*time(0x219a4, 0xeffff7d4, 0x115c0)
date            ->*nl_langinfo(0x3a, 0xeffff7d4, 0x219a4)
date            ->*localtime(0x219a4, 0x3a, 0xef62227c)
date            ->*memcpy(0xeffff744, 0xef628898, 0x24)
date            ->*strftime(0x219a8, 0x400, 0xef627368)
date            ->*puts(0x219a8, 0x400, 0x0)
Mon Sep  7 09:53:01 MET DST 1998
date            ->*exit(0x0, 0xeffff7d4, 0x219a4)

Would be nice if we had such a thing, too. :)

BTW, what came out of ktruss - last time i checked this didn't compile (I
dndn't investigate further).

 - Hubert

Hubert Feyrer <>