Re: [PATCH] Fix types of arguments to dtrace syscall return probes

From: Ryan Stone <rysto32_at_gmail.com>
Date: Tue, 8 Nov 2011 10:30:00 -0500
On Mon, Nov 7, 2011 at 9:16 AM, Paul Ambrose <ambrosehua_at_gmail.com> wrote:
> diff --git a/sys/kern/kern_ctf.c b/sys/kern/kern_ctf.c
> index bdff96e..2737860 100644
> --- a/sys/kern/kern_ctf.c
> +++ b/sys/kern/kern_ctf.c
> _at__at_ -90,7 +90,7 _at__at_ link_elf_ctf_get(linker_file_t lf, linker_ctf_t *lc)
>         * ctfcnt to -1. See below.
>         */
>        if (ef->ctfcnt < 0)
> -               return (0);
> +               return (EFTYPE);
>
>        /* Now check if we've already loaded the CTF data.. */
>        if (ef->ctfcnt > 0) {
> ---------------------------------------------------------------------------------------

I have committed this as r227342.  Thanks for the fix.

> And I post another fix for the ${NORMAL_CTFCONVERT} issue, could you
> check it for me?

Yes, I can take a look.

>  kern/160307, I check the /boot/kernel/kernel with ctfdump, and found
> the kernel image has right ctf information, do you
> have any idea?

Offhand, no.  I'll try to find some time to look at your PRs.
Received on Tue Nov 08 2011 - 14:30:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:20 UTC