Vince,

Patch applied.
Glad to see pfmon still works on MIPS!



On Fri, Nov 20, 2009 at 6:07 AM, Vince Weaver <vi...@csl.cornell.edu> wrote:
> Hello
>
> I needed the following patch to get pfmon 3.9 working on MIPS.
>
> Vince
>
>
> --- pfmon/pfmon_util_mips64.c.orig      2009-11-18 15:00:48.000000000 -0500
> +++ pfmon/pfmon_util_mips64.c   2009-11-18 15:02:51.000000000 -0500
> @@ -531,11 +531,11 @@
>
>        vbprintf("[%d] dlopen hook on %s\n", sdesc->pid, sdesc->cmd);
>
> -       version = sdesc->syms ? sdesc->syms->version : 0;
> +       version = syms_get_version(sdesc);
>        /*
>         * see link.h for description fo _r_debug
>         */
> -       ret = find_sym_addr("_r_debug", version, sdesc->syms, 
> PFMON_DATA_SYMBOL, &start, NULL);
> +       ret = find_sym_addr("_r_debug", version, sdesc->syms, &start, NULL);
>        if (ret == -1) {
>                vbprintf("[%d] dlopen hook not found, ignoring 
> dlopen/dlclose\n", sdesc->tid);
>                return 0;
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> perfmon2-devel mailing list
> perfmon2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to