Skip to content

tracing: Add $cpu and $current probe-vars

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing: Add $cpu and $current probe-varskernel/trace/trace_probe.c+57 -45 replies
2/2tracing: Kill FETCH_MTD_retval, reimplement $retval via pseudo_reg_retval()kernel/trace/trace_probe.c kernel/trace/trace_probe.h+19 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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_probes has 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.