Jun Wang <junwang...@gmail.com> writes: > Hi Everyone, > > With systemTap, in the absence of debugging information (DWARF), one > can access function parameters using (positional) numbers. Can the > same be done with `perf`? > Why? I'm trying to capture variables in a kernel function but I don't > have an good perf with DWARF support and there is are significant > challenges to build one due to the relatively old distro.
You can specify the registers according to the ABI. di = 1. arg, si = 2nd arg etc. -Andi -- a...@linux.intel.com -- Speaking for myself only -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html