Home | History | Annotate | only in /external/chromium_org/tools/memory_watcher
Up to higher level directory
NameDateSize
call_stack.cc20-Jun-201413.4K
call_stack.h20-Jun-20145.3K
DEPS20-Jun-201433
dllmain.cc20-Jun-20144.5K
hotkey.h20-Jun-20141.2K
ia32_modrm_map.cc20-Jun-20143.6K
ia32_opcode_map.cc20-Jun-2014106.5K
memory_hook.cc20-Jun-201419.3K
memory_hook.h20-Jun-20144.4K
memory_watcher.cc20-Jun-20147.5K
memory_watcher.gyp20-Jun-20141.3K
memory_watcher.h20-Jun-20142.7K
mini_disassembler.cc20-Jun-201413.8K
mini_disassembler.h20-Jun-20146.2K
mini_disassembler_types.h20-Jun-20146.5K
preamble_patcher.cc20-Jun-20149.6K
preamble_patcher.h20-Jun-201412.3K
preamble_patcher_with_stub.cc20-Jun-20147.4K
README20-Jun-2014721
scripts/20-Jun-2014

README

      1 memory_watcher is a library that can be linked into chromium to trace the
      2 memory allocations. It works by hooking the system allocation/deallocation
      3 functions, and recording the actions.
      4 
      5 To use memory_watcher in chromium:
      6 
      7 (1) Compile the memory_watcher library (it is part of the solution by default)
      8 
      9 (2) Run chromium with these flags "--memory-profile -no-sandbox"
     10 (The instrumentation doesn't work with the sandbox)
     11 
     12 (3) Hit ctrl-alt-D  to generate a dump of the memory allocations.
     13 This will create a log file called memorywatcher.logXXXX for every
     14 chromium process (where XXXX is the pid).
     15 
     16 The log file is a human readable text format, which can be further analyzed
     17 using the helpers in the "scripts/" directory.
     18