-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
Description
The document Performance Tracing on Linux speaks only about CoreCLR when it comes to LTTng. Thus, I'm wondering whether LTTng is supported while using the Mono runtime.
What makes me curios is that while building the .NET6 SDK with Mono as its primary runtime flavor I see that genLttngProvider.py is executed and code for the LTTng event provider is generated. However, a trace, for example generated via perfcollect does not include any user space event. In contrast if the same example is run with a .NET6 SDK utilizing CoreCLR, then user space events are recorded.
Can someone shed some light on whether LTTng is supported for Mono runtime?
Reproduction Steps
Run perfcollect collect foobar and use a .NET6 SDK with Mono as its primary runtime flavor:
dotnet new console
export DOTNET_PerfMapEnabled=1
export DOTNET_EnableEventLog=1
dotnet run
Afterwards inspect the trace file via babeltrace:
perfcollect view foobar.trace.zip -viewer lttng
Expected behavior
Thousands of user space events.
Actual behavior
Not a single event is shown.
Regression?
No response
Known Workarounds
No response
Configuration
- Ubuntu 20.04
- LTTng packages from http://ppa.launchpad.net/lttng/ppa/ubuntu
- x64
- .NET SDK 6.0.100 (commit 9e8b04bbff) build against CoreCLR as primary runtime flavor as well as Mono
Other information
No response