NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/53590: DTrace fbt_getargdesc() fails with "Unknown function"



The following reply was made to PR kern/53590; it has been noted by GNATS.

From: Thomas Klausner <tk%giga.or.at@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/53590: DTrace fbt_getargdesc() fails with "Unknown function"
Date: Wed, 31 Jul 2019 12:48:39 +0200

 On Wed, Jul 31, 2019 at 10:35:01AM +0000, Andreas Gustafsson wrote:
 >   - To fix this PR.  This is a necessary step towards making tracing of
 >     function arguments and return types work in DTrace, but sadly not
 >     sufficient; there's still the CTF type table overflow issue
 >     (https://mail-index.netbsd.org/tech-kern/2017/10/13/msg022436.html).
 
 Is this last statement still correct after the recent commits by
 hannken? (both from July 16)
 
 Modified Files:
         src/external/cddl/osnet/dist/tools/ctf/cvt: fixup_tdescs.c
 
 Log Message:
 Add fixup operation to remove private mutex types for x86.
 
 For GENERIC the number of types goes down from 47351 to 33981.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.4 \
     src/external/cddl/osnet/dist/tools/ctf/cvt/fixup_tdescs.c
 
 
 Modified Files:
         src/external/cddl/osnet/dist/tools/ctf/cvt: fixup_tdescs.c
 
 Log Message:
 XXX: A crude hack to bring down the number of types for a
 GENRIC kernel below 2**15-1 (from ~34000 to ~29800).
 
 Remove the type attributes "volatile", "const" and "restrict",
 for DTRACE these attributes are of little value.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 \
     src/external/cddl/osnet/dist/tools/ctf/cvt/fixup_tdescs.c
 
 
  Thomas
 


Home | Main Index | Thread Index | Old Index