freebsd-nq/sys/cddl
Andriy Gapon 3bd9b9a600 std: it is important that func name is never an empty string
otherwise DTRACE_ANCHORED() returns false and that makes stack()
insert a bogus frame at the top.
For example:
dtrace -n 'test:dtrace_test::sdttest { stack(); }

This change is not really a solution, but just a work-around.
The real solution is to record the probe's call site and to use
that for resolving a function name.

PR:		195222
MFC after:	22 days
2015-09-29 12:02:23 +00:00
..
boot/zfs MFV r274273: 2014-11-10 08:20:21 +00:00
compat/opensolaris Expose an interface to determine if an ACE is inherited. 2015-09-04 00:14:20 +00:00
contrib/opensolaris define aok in libnvpair which is linked to all zfs libraries that need aok 2015-09-28 15:25:36 +00:00
dev std: it is important that func name is never an empty string 2015-09-29 12:02:23 +00:00