# How to check whether profiling is supported

**URL:** <https://discourse.julialang.org/t/how-to-check-whether-profiling-is-supported/77882>\
**Category:** Internals & Design\
**Tags:** question, profiling\
**Created:** [March 14, 2022, 5:33pm UTC](https://discourse.julialang.org/t/how-to-check-whether-profiling-is-supported/77882 "2022-03-14T17:33:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uroc327](https://avatars.discourse-cdn.com/v4/letter/u/eb8c5e/32.png) [@Uroc327](https://discourse.julialang.org/u/Uroc327)\
**Post date:** [March 14, 2022, 5:33pm UTC](https://discourse.julialang.org/t/how-to-check-whether-profiling-is-supported/77882/1 "2022-03-14T17:33:10Z")

</div>

How can I check whether a julia binary was built with `USE_PERF_JITEVENTS=1`? It seems to be default on linux platforms, but is there any way to query this?

I wonder if I have to build julia from source for profiling or if the official binary julia or my distro’s julia would work as well.
