~/talk

Coresight Advanced Topics

links:none on file
slides:none on file

Kernel has a generic Coresight framework with device tree bindings and debugfs nodes, and adding a custom AMBA driver is typically small (often ~30 lines). It highlights STMv2 stimulus ports exposing channels, the unresolved problem of reserving channels across kernel, user space and VMs, and the need to ship a metadata blob describing trace engine configuration and timestamp width with each trace. No open‑source professional decoder exists; DS‑5 is commercial, Google’s ETM object dump is scenario‑limited, and perf integration is proposed but decoding remains unsolved.

AI-written summary · about

  1. 0:00Intro
  2. 3:11About this Presentation Flash review of what we talked about in the introduction session Porting guide to the CoreSight framework Problems and Panding issues
  3. 6:40Porting Guide - Enabling the Framework make menuconfig, Komel Hacking -- Coresight Tracing Support
  4. 8:00Porting Guide - DT and Naming Convention
  5. 9:46Porting Guide - registration API At this time all the coresight drivers are for generic components, ie haven't been modified by their implementer This is likely to change rather quickly, the quicker it happens the better it is less code to convert
  6. 12:29Porting Guide - Registration with the Framework Registration typically happens as part of the probe() routine of an amba driver
  7. 13:48Porting Guide - type and subtypes
  8. 15:02Porting Guide - coresight operations struct coresight_ops ops: Tells the framework how to perform generic operations for the components
  9. 24:27anyone with access to the AMBA AXI interface to log information Can be thought of as a system-wide syslog facility Problem
  10. 28:47Problems and Pending Issues - Metadata The format of trace packets in the trace stream changes based on whether cycle-accurate tracing is enabled or not. cycle accurate tracing modifies the information conveyed by the following PET packets
  11. 37:03Problems and Pending Issues - Kernel API The kernel ftrace implementation has a kemel API that offers some trace controlex
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.