On 4/23/14, 11:21 PM, Andi Kleen wrote:
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.
http://en.wikipedia.org/wiki/X86_calling_conventions#List_of_x86_calling_conventions
--
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