diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2018-04-25 21:21:55 +0900 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-10-10 22:19:10 -0400 |
commit | 40b53b771806b1770837169cd32d1bf167fbccaf (patch) | |
tree | cd6a5bf5fee832a6169891ba07b347545dd03c47 /drivers/xen | |
parent | 60c2e0cebfd01bd1bc5e8843f063264148d6b2bb (diff) | |
download | linux-40b53b771806b1770837169cd32d1bf167fbccaf.tar.bz2 |
tracing: probeevent: Add array type support
Add array type support for probe events.
This allows user to get arraied types from memory address.
The array type syntax is
TYPE[N]
Where TYPE is one of types (u8/16/32/64,s8/16/32/64,
x8/16/32/64, symbol, string) and N is a fixed value less
than 64.
The string array type is a bit different from other types. For
other base types, <base-type>[1] is equal to <base-type>
(e.g. +0(%di):x32[1] is same as +0(%di):x32.) But string[1] is not
equal to string. The string type itself represents "char array",
but string array type represents "char * array". So, for example,
+0(%di):string[1] is equal to +0(+0(%di)):string.
Link: http://lkml.kernel.org/r/152465891533.26224.6150658225601339931.stgit@devbox
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions