~/talk

KUnit: Function Redirection and More

links:none on file
slides:none on file

KUnit now implements function redirection with two backends: static stubbing inserts a macro at a function head that at test runtime checks and calls a replacement (example: activate static stub to make add_one call subtract_one), and an ftrace-based stub that redirects without source changes but requires ftrace/livepatch support and cannot intercept inlined functions. KUnit hits about 500 tests, adds init-section testing, UML and Rust doctest support, a defer-like resource API, unit_enable to keep tests out of production runs, and an RFC v2 is available.

AI-written summary · about

  1. 0:00Introduction to KUnit
  2. 1:47Recent KUnit developments
  3. 3:57Maintenance and Rust support
  4. 5:45Resource management system
  5. 8:59Function redirection overview
  6. 10:45Static stubbing implementation
  7. 13:13Ftrace-based stubbing
  8. 14:17Community feedback and Q&A
~/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.