~/talk

Extracting Analytics from Complex OpenEmbedded Builds

links:none on file
slides:none on file

Shows how the Toaster event DB collects bitbake’s ~40+ event types and stores them for long-term analysis, with SQL (sqlite default) or production MySQL/Postgres backends; demonstrates building command-line tools that query the DB and a one-day analyzer that computes overlaps. Concrete findings: 2658 tasks, 250 recipes, up to 140 concurrent tasks on 24 threads, one task overlaps 983 others (Python3 native overlaps 798); explains buffering behavior, how to register custom handlers (example client forked from naughty), and tracing an SDK file deletion via metadata events.

AI-written summary · about

  1. 0:00Introduction
  2. 2:20The Problem Space (as I see it)
  3. 4:47Event System Features
  4. 5:28Overview of Available Events
  5. 6:04Event Clients (you are already using events!)
  6. 9:07Example Event Database with CI Builders
  7. 10:13The Event Database Instance
  8. 10:52Adding Build Data to the Event Database
  9. 11:49Existing Toaster Analytics
  10. 13:20The components of the event system
  11. 14:24The Event Class
  12. 15:14Event Creation
  13. 15:44Event Client Registration Example
  14. 16:55Attaching event triggers to bitbake tasks (2)
  15. 17:36Event Receiver Loop Example (Toaster)
  16. 18:22Example Custom Command Line Tool
  17. 19:02Minimal Event Database Python Script
  18. 20:16Full Feature Event Database Python Script
  19. 22:07Task and Recipe Build Analysis Script
  20. 23:50Histogram of Overlapping Task/Recipe Execution
  21. 25:00Custom events
  22. 26:03Custom Event UI (2)
  23. 28:54Using Events for debugging bitbake (2)
  24. 32:42Resources (2)
~/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.