~/talk

Debugging and Profiling .NET Core Apps on Linux

Talkat NDC Sydney 2017 · 2017-08-14..08-18· [observability]
slides:none on file

Shows how to profile .NET Core on Linux using actual tools and steps: use perf record -F 97 to sample CPU (example run captured 720 samples), enable JIT symbols with COMPlus_PerfMapEnabled=1 to get managed names, convert perf output to flame graphs to spot heavy GC and allocation hot paths, or use BPF/BCC for lower overhead continuous monitoring. For runtime events use LTTNG and analyze core dumps with lldb 3.6 plus SOS to extract managed stacks and the original exception.

AI-written summary · about

  1. 0:00Start
  2. 2:02The Plan
  3. 4:22Tools And Operating Systems Supported
  4. 5:57Mind The Overhead
  5. 7:40Sampling vs. Tracing
  6. 9:30NET Core on Linux Tracing Architecture
  7. 14:05The Official Story: perfcollect and PerfView
  8. 18:23perf_events Architecture
  9. 19:54Five Things That Will Happen To You If You Don't Have Symbolic Debug Information
  10. 21:29Getting Debug Information
  11. 25:13Flame Graphs
  12. 25:59Reading a Flame Graph
  13. 33:40The Old Way And The New Way: BPF
  14. 36:37The BCC BPF Front-End
  15. 50:50Generating Core Dumps
  16. 51:53Analyzing .NET Core Dumps
  17. 53:23libsosplugin.so
  18. 57:19Checklist: Preparing Your Environment
  19. 57:40Summary
  20. 58:14References
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.