~/talk

Leveraging Compiler Code Instrumentation for Zephyr Tracing &...

Talkat Zephyr Developer Summit 2023 · 2023-06-27..06-30· [embedded-and-hardware]
links:none on file
links:none on file
slides:none on file

A platform, tooling and arch‑neutral subsystem uses -finstrumentation-functions in GCC/Clang to capture function entry/exit addresses and timestamps, records events into a retained RAM ring buffer with runtime trigger/stop addresses that survive reboot, and exports traces via Babeltrace to Perfetto for flamegraphs. Image size more than doubles because inlining is disabled on GCC, profiling accumulators and call counts are produced and the synchronous demo works though async transport is still experimental.

AI-written summary · about

  1. 0:00Introduction to tracing
  2. 3:30Motivation and methodology
  3. 8:20Implementation details
  4. 13:22Configuring trace points
  5. 18:30Setting up the environment
  6. 22:38Data extraction and analysis
  7. 31:26Performance impact
  8. 34:48Dynamic instrumentation
~/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.