Skip to content

Conversation

@DaniPopes
Copy link
Contributor

Kernel samples are not recorded nor decoded during samply record. This PR is two commits:

  • 18611d3: enables PERF_SAMPLE_CALLCHAIN and decodes kernel stack frames from the callchain in the sample events
  • 4ef1638: register kernel and modules during profiler setup, just like in perf, so that Converter is notified of the kernel symbols

Based on #734.

Perf emits `Mmap2` non-executable events for kernel (modules).

Refactor `Converter` such that `Mmap2` also handles kernel events,
and doesn't skip them because they're not executable.
Mimics `perf` so the kernel and modules' symbols are
registered in `Converter`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant