heaptrace [options] <command> <thread_id>
Display help.
The command to execute. [enable, disable]
The TThreadId of the thread whose allocator you want to change. [uint]
Enables tracing for the given thread's heap.
This command does not modify any btrace settings, only the flags in the given thread's RAllocator. Therefore to actually get the logs you'll need to do enable btrace and the EHeap category, eg 'btrace -m 1 -f 14'. When FSHELL_ATRACE_USES_BTRACE is not defined, this command uses the autometric eikplugin to switch to a tracing allocator, therefore in this config it is only possible to enable tracing for UI applications. When FSHELL_ATRACE_USES_BTRACE is defined, you can enable tracing for any thread including kernel threads (which trace the kernel heap). To perform the allocator switching regardless of config, use 'amcommand --logging-allocator' instead.
Copyright (c) 2009-2010 Accenture. All rights reserved.