Hi,

I wanted to try pfmon 3.9 on a IBM QS22 blade.
In order to compile it properly I had to add/modify the following + marked
lines in 

pfmon/pfmon_utils_cell.c: (function pfmon_get_dlopen_hook)

add:        unsigned int version;

change line 205:
from    vbprintf("[%d] dlopen hook on %s\n", sdesc->pid, sdesc->new_cmdline);
to                 vbprintf("[%d] dlopen hook on %s\n", sdesc->pid, sdesc->cmd);

change line 210:
from    ret = find_sym_addr("_r_debug", options.primary_syms, 
PFMON_DATA_SYMBOL, &start, NULL);
to             ret = find_sym_addr("_r_debug", version, sdesc->syms, &start, 
NULL);



Best,

Daniele Spampinato
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to