On Mon, Jan 3, 2011 at 4:47 PM, Oliver Schneider <[email protected]> wrote:

> Hi there,
>
> is there any way to run native code in Valgrind. We have one very memory
>

There is a bizare way to implement what you need.
[If the function you are talking about can be ripped from your program and
be put somewhere else]
You can rebuild the valgrind binary to contain your function (and
dependencies) and instead of calling your function from your code, call a
valgrind client request (which you will have to implement too) that will in
turn call your function.
This is more or less like calling native code from Java via JNI.

--kcc


> intensive function that takes up the majority of time when loading our
> code, but it is checked separately and is known to be sane as of now. Is
> there a way to run this code at native speed instead of inside the
> emulation layer?
>
>
> Thanks and a happy new year to all of you,
>
> // Oliver
>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Valgrind-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>
>
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to