diff options
author | Lukas Larsson <lukas@erlang.org> | 2020-08-26 10:19:14 +0200 |
---|---|---|
committer | Lukas Larsson <lukas@erlang.org> | 2020-09-22 07:51:41 +0200 |
commit | a37dd4d515c59add527920b4018c03c08e4d11b5 (patch) | |
tree | 473ff70ed9144020e05bc2df9f9aca6e1344cb16 /.gitignore | |
parent | 69bc8457f9a4b62164dbc22bbd54d9f760347507 (diff) | |
download | erlang-a37dd4d515c59add527920b4018c03c08e4d11b5.tar.gz |
jit: Implement support for perf dump
Using perf dump is superior to using perf map as we are
able to use `perf annotate` which means we can view which
x86 assembly instruction was using the most CPU.
perf record -k mono erl +JPperf true
perf inject --jit -i perf.data -o perf.jitted.data
perf report -M intel -i perf.jitted.data
The implementation was inspired from the mono repo:
https://github.com/mono/mono/blob/master/mono/mini/mini-runtime.c
It should be easy to add support for Erlang source file and
line mapping if we want to do that.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index e05b0d9f92..7a22e616ce 100644 --- a/.gitignore +++ b/.gitignore @@ -288,6 +288,7 @@ JAVADOC-GENERATED /erts/doc/src/*.fo /erts/doc/xml/*.xml /erts/doc/xml/figures/*.png +/erts/doc/xml/figures/*.svg /erts/doc/chunks/*.chunk /erts/doc/man[0-9]/*.[0-9] /erts/doc/CONF_INFO |