|
From: Julian S. <js...@ac...> - 2005-11-18 19:57:19
|
> > Still it feels wrong. A profiling tool should run the same code as in
> > reality. Why artificially lower the quality of the result?
>
> This is a good point.
I agree. I was just experimenting with this:
if (0==VG_(strcmp)("Memcheck", VG_(details).name)) {
add_redirect_sym_to_addr(
"soname:ld.so.1", "strlen",
(Addr)&VG_(ppc32_linux_REDIR_FOR_strlen)
);
add_redirect_sym_to_addr(
"soname:ld.so.1", "strcmp",
(Addr)&VG_(ppc32_linux_REDIR_FOR_strcmp)
);
}
Would that be an acceptable temporary fix for 3.1.0 that you'd be
happy with?
J
|