microsoft / microsoft/WSL

LTTng kernel tracing support

Open
#6,137 11 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

@trgibeau @ivberg-zz you mentioned WSL2 in https://tracingsummit.org/ts/2019/WPA/

I successfully built https://github.com/lttng/lttng-modules#building using https://github.com/microsoft/WSL2-Linux-Kernel and ran the lttng daemon: https://lttng.org/docs/#doc-tracing-the-linux-kernel
but I always get 'Kernel tracer not available'
(a) the modules don't get loaded by the daemon as described in the docs, (b) when loading them manually it doesn't make a difference, (c) neither does building them right into the kernel

Have you tried this internally? Should it work?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the lttng-modules building instructions, the WSL2-Linux-Kernel tree, and the LTTng kernel-tracing documentation linked in the issue. Reproduce the daemon behavior and compare module loading with modules built into the kernel. Done means identifying whether kernel tracing is supported in WSL2 and documenting the required fix or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
observability, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.