Re: [PATCH v2 13/17] tracing: probeevent: Add $argN for accessing function args

2018-02-22 Thread Masami Hiramatsu
On Thu, 22 Feb 2018 00:00:31 +0900 Masami Hiramatsu wrote: > Add $argN special fetch variable for accessing function > arguments. This allows user to trace the Nth argument easily > at the function entry. > > Note that this returns most probably assignment of registers >

Re: [PATCH v2 13/17] tracing: probeevent: Add $argN for accessing function args

2018-02-22 Thread Masami Hiramatsu
On Thu, 22 Feb 2018 00:00:31 +0900 Masami Hiramatsu wrote: > Add $argN special fetch variable for accessing function > arguments. This allows user to trace the Nth argument easily > at the function entry. > > Note that this returns most probably assignment of registers > and stacks. In some

[PATCH v2 13/17] tracing: probeevent: Add $argN for accessing function args

2018-02-21 Thread Masami Hiramatsu
Add $argN special fetch variable for accessing function arguments. This allows user to trace the Nth argument easily at the function entry. Note that this returns most probably assignment of registers and stacks. In some case, it may not work well. If you need to access correct registers or

[PATCH v2 13/17] tracing: probeevent: Add $argN for accessing function args

2018-02-21 Thread Masami Hiramatsu
Add $argN special fetch variable for accessing function arguments. This allows user to trace the Nth argument easily at the function entry. Note that this returns most probably assignment of registers and stacks. In some case, it may not work well. If you need to access correct registers or