I recently committed a CL that makes emitting tracer-output easier.
Instead of changing the hard-coded variables in tracer.dart, it now uses the env-variable "DUMP_IR".
The pattern given to DUMP_IR must be regular expression (empty RE is fine).
Examples:
DART_VM_OPTIONS='-DDUMP_IR=m.*n' sdk/bin/dart2js ...
DART_VM_OPTIONS='-DDUMP_IR=' sdk/bin/dart2js ... # emits all methods.
--
Give a man a fire and he's warm for the whole day,
but set fire to him and he's warm for the rest of his life. - Terry Pratchett