Skip to content

Commit 82528ed

Browse files
committed
Add heap profiling infrastructure
Summary: This change squashes the following diffs and adds some additional changes needed for compatability with OTP 26. D48490465 D48455502 D48215686 D48131895 D48132518 D48084944 D48005114 D47964855 D47962223 D47780292 D47138491 D47131686 D47242900 D47128767 D46212162 D46043094 Test Plan: Ran various combinations of `erlang:heap_dump` and verified that the profile data looks okay. Reviewers: potatosaladx, zeyu, skatepalli, zerth, mittalanshul, #whatsapp_clr Reviewed By: skatepalli Subscribers: yingyingxiao Differential Revision: https://phabricator.intern.facebook.com/D48825426 Tasks: T154046229 Privacy Context Container: L1141030
1 parent d324ea6 commit 82528ed

40 files changed

+2459
-101
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,3 +362,7 @@ JAVADOC-GENERATED
362362
/lib/xmerl/src/xmerl_b64Bin.erl
363363
/lib/xmerl/src/xmerl_xpath_parse.erl
364364
/lib/xmerl/test/xmerl_test.erl
365+
366+
# wa_scripts
367+
/wa_scripts/round-up-text-segment
368+
wa_scripts/round-up-text-segment.o

erts/emulator/Makefile.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,8 @@ RUN_OBJS += \
11251125
$(OBJDIR)/erl_global_literals.o \
11261126
$(OBJDIR)/beam_file.o \
11271127
$(OBJDIR)/beam_types.o \
1128-
$(OBJDIR)/erl_term_hashing.o
1128+
$(OBJDIR)/erl_term_hashing.o \
1129+
$(OBJDIR)/erl_hdump.o
11291130

11301131
LTTNG_OBJS = $(OBJDIR)/erlang_lttng.o
11311132

erts/emulator/beam/atom.names

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ atom group_leader
346346
atom handle
347347
atom have_dt_utag
348348
atom heap_block_size
349+
atom heap_dump
349350
atom heap_size
350351
atom heap_sizes
351352
atom heap_type

0 commit comments

Comments
 (0)