Add some data annotation to allow for data profiling
commit9886de4a25a921d9c9c6f3373e78ed838d2e4195
authormwilliams <mwilliams@fb.com>
Tue, 7 Jan 2014 21:43:55 +0000 (7 13:43 -0800)
committerSara Golemon <sgolemon@fb.com>
Tue, 15 Apr 2014 16:30:15 +0000 (15 09:30 -0700)
tree95889c7cfa2357551966eda91fec33deaac3ab08
parent8b6e70f26382cba57aea265f26a3d266de5145ad
Add some data annotation to allow for data profiling

perf on kernel 3.10 can record data addresses. This diff
adds an option to write a perf-data-<pid>.map analogous to
perf-<pid>.map to allow us to interpret the results.

Reviewed By: @bertmaher

Differential Revision: D1272287
14 files changed:
hphp/runtime/base/rds-inl.h
hphp/runtime/base/rds-util.cpp
hphp/runtime/base/rds.cpp
hphp/runtime/base/rds.h
hphp/runtime/base/runtime-option.h
hphp/runtime/base/static-string-table.cpp
hphp/runtime/vm/class.cpp
hphp/runtime/vm/class.h
hphp/runtime/vm/debug/debug.cpp
hphp/runtime/vm/debug/debug.h
hphp/runtime/vm/func.cpp
hphp/runtime/vm/jit/code-gen-x64.cpp
hphp/runtime/vm/jit/target-cache.cpp
hphp/runtime/vm/unit.cpp