[PATCH] Fix types of arguments to dtrace syscall return probes
Ryan Stone
rysto32 at gmail.com
Tue Nov 8 15:30:02 UTC 2011
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
> @@ -90,7 +90,7 @@ 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.
More information about the freebsd-current
mailing list