Recursively enumerate anonymous structs and unions in ctf_member_info().
authormarkj <markj@FreeBSD.org>
Tue, 30 Aug 2016 05:50:42 +0000 (05:50 +0000)
committermarkj <markj@FreeBSD.org>
Tue, 30 Aug 2016 05:50:42 +0000 (05:50 +0000)
commit2cf7bee07224139dadd84135d0c31648615d2b37
tree0eb2729f80618e3e7f6802c2e2877d9726c2bdd1
parent2f84fd716e3884111318db2461b87b47476e05e2
Recursively enumerate anonymous structs and unions in ctf_member_info().

Previously, ctf_member_info() would ignore members belonging to an
anonymous struct or union. This made it impossible to, for example, trace
the m_next field of an mbuf using DTrace.

Reported and tested by: gallatin
MFC after: 2 weeks
cddl/contrib/opensolaris/common/ctf/ctf_types.c