tracing: Add $cpu and $current probe-vars
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tracing: Add $cpu and $current probe-varskernel/ | +57 | 5 replies | |
| 2/2 | tracing: Kill FETCH_MTD_retval, reimplement $retval via pseudo_reg_retval()kernel/ kernel/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] tracing: Add $cpu and $current probe-vars
Quoted 10 lines · Oleg Nesterov
Hello,
After I looked at Namhyung's patches I learned that
trace_probeshas a rich set of ->fetch methods.But perhaps it makes sense to add a bit more? The patch is simple and the idea looks natural. If this patch is accepted, I can try to add a bit more hacks to fetch the per-cpu data, but this needs a couple of simple preparations.
OK, please see v2.
As Masami and Namhyung suggested it uses '$' prefix instead of '%%'.
Oleg.