fix: handling 'undefined' from erlang:process_info/2 0.8.2
authorSiraaj Khandkar <siraaj@khandkar.net>
Tue, 22 Sep 2015 22:08:02 +0000 (18:08 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Tue, 22 Sep 2015 22:08:02 +0000 (18:08 -0400)
commit2cd7cf62e9b1e456c0ccc963d92a9170c3af8251
treed73e44a52c20d83311aa8e736c46f210e677b8a1
parenta8313c361a849939a701555bc7173dd2fdc4b432
fix: handling 'undefined' from erlang:process_info/2

Process could die between the time we get its PID from erlang:processes() and
when we start calling erlang:process_info/2 on it; or even somewhere between
the process_info calls.

The choice is between returning partial info (that we were able to collect
before process died) and just skipping the process. For now, I'm choosing to
skip the process (throwing away any partial info collected).
src/beam_stats.app.src
src/beam_stats_process.erl
src/beam_stats_processes.erl
This page took 0.025233 seconds and 4 git commands to generate.