Hans-Peter Reichert
|
AW: AW: Oflline memory analysis
|
Hans-Peter Reichert
10/01/2009 3:11 AM
post39153
|
AW: AW: Oflline memory analysis
just to be sure: you're linking against shared libc?
you can check whether malloc_g is loaded? using env var DL_DEBUG=1
>-----Ursprüngliche Nachricht-----
>Von: nkr krishnan [mailto:community-noreply@qnx.com]
>Gesendet: Mittwoch, 30. September 2009 15:28
>An: general-community
>Betreff: Re: AW: Oflline memory analysis
>
>We are using QNX 6.3.2 version. Tried using
>LD_PRELOAD=/tmp/libmalloc_g.so MALLOC_TRACE=/tmp/log.memory
> MALLOC_CTHREAD=1 ./my_app
>
>as in the 6.4.0 manual. Did not get any log in the tmp directory.
>
>Also tried with -pg option. Not sure why we did not get any
>log for application as well.
>Am i missing something?
>
>Request your help,
>
>Thanks,
>nkr
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post39067
>
>
*******************************************
Harman Becker Automotive Systems GmbH
Management Board: Dr. Klaus Blickle (Chairman), Dr. Udo Hüls, Michael Mauser
Chairman of the Supervisory Board: Ansgar Rempp | Domicile: Karlsbad |
Local Court Mannheim: Register No. 361395
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat
sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail
. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have
received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying,
disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************
|
|
|
Elena Laskavaia
|
Re: AW: Oflline memory analysis
|
Elena Laskavaia
10/02/2009 12:30 PM
post39296
|
Re: AW: Oflline memory analysis
What is the purpose of your analysis? Finding memory allocations? Memory leaks? or memory errors? You have to specify
more options (env vars) depends on what are looking for
|
|
|