run-with-massif

Manual Reference Pages - RUN-WITH-MASSIF (1)


NAME

run-with-massif - helper script for using Valgrind massif tool with Maemo

CONTENTS

Synopsis
Description
Examples
Files
See Also
Copyright

SYNOPSIS

run-with-massif binary arguments

DESCRIPTION

run-with-massif is a helper script for the Valgrind massif tool. The script runs given binary (with its arguments) under Valgrind using suitable options and checks a few things specific to Valgrinding in the Maemo GNU/Linux environment.

EXAMPLES

There are a few ways to use this script:

o If the binary is using "maemo-launcher", this script can be linked to the binary name instead of the "maemo-invoker" and the script will automatically call "maemo-summoner" as needed.

o Call the binary directly with this script, e.g. like this:
DISPLAY=:1 run-standalone.sh run-with-massif <binary> <arguments>

o Rename the original binary to <name>.real and put/link this script in place of the original binary.

For information about interpreting the results, see Massif documentation at http://valgrind.org/docs/manual/ms-manual.html.

FILES

The Valgrind output is saved into following file:
~/massif-<appname>-<pid>.log

SEE ALSO

valgrind(1)

COPYRIGHT

Copyright (C) 2007 Nokia Corporation.

This is free software. You may redistribute copies of it under the terms of the GNU General Public License v2 included with the software. There is NO WARRANTY, to the extent permitted by law.



Improve this page