-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added docs for external profiling #28538
Conversation
doc/src/manual/profile.md
Outdated
Depending on the tool you choose, compile with `USE_INTEL_JITEVENTS`, `USE_OPROFILE_JITEVENTS` and | ||
`USE_PERF_JITEVENTS` set to 1 in `Make.user`. Multiple flags are supported. | ||
|
||
Also before running Julia set the environment variable `ENABLE_JITPROFILING` to 1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove also
doc/src/manual/profile.md
Outdated
# External Profiling | ||
|
||
Currently Julia supports `Intel VTune`, `OProfile` and `perf` as external profiling tools. | ||
The interfaces are all maintained as LLVM modules, and they support code annotations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this sentence can be dropped
doc/src/manual/profile.md
Outdated
For example with `OProfile` you can try a simple recording : | ||
|
||
``` | ||
>sudo operf -Vdebug ./julia test/fastmath.jl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think having the environment variables as part of the script so that copy-paste
just works, would be good
doc/src/manual/profile.md
Outdated
There are many more interesting things that you can measure about your program, to get a comprehensive list | ||
please read the [Linux perf examples page](http:https://www.brendangregg.com/perf.html). | ||
|
||
Rember that perf saves for each execution a `perf.data` file that, even for small programs, can get |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember
doc/src/manual/profile.md
Outdated
please read the [Linux perf examples page](http:https://www.brendangregg.com/perf.html). | ||
|
||
Rember that perf saves for each execution a `perf.data` file that, even for small programs, can get | ||
a relevant size. Also the perf LLVM module saves temporarly debug objects in `~/.debug/jit`, remember |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can get quite large
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"temporarly" -> "temporary"?
91226ca
to
b1d6ed2
Compare
(cherry picked from commit 0d050ac)
(cherry picked from commit 0d050ac)
(cherry picked from commit 0d050ac)
(cherry picked from commit 0d050ac)
No description provided.