diff options
| author | Masami Hiramatsu <[email protected]> | 2011-02-04 12:52:05 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-02-07 11:18:11 +0000 |
| commit | 1ff511e35ed87cc2ebade9e678e4a2fe39b6f9c5 (patch) | |
| tree | b16cff475673db75aef773cc1118734a2172066a /tools/perf/util/scripting-engines | |
| parent | tracing/kprobes: Support longer (>128 bytes) command (diff) | |
| download | kernel-1ff511e35ed87cc2ebade9e678e4a2fe39b6f9c5.tar.gz kernel-1ff511e35ed87cc2ebade9e678e4a2fe39b6f9c5.zip | |
tracing/kprobes: Add bitfield type
Add bitfield type for tracing arguments on kprobe-tracer. The syntax of
a bitfield type is:
b<bit-size>@<bit-offset>/<container-size>
e.g.
Accessing 2 bits-width field with 4 bits-offset in 32 bits-width data at
4 bytes offseted from the address pointed by AX register:
+4(%ax):b2@4/32
Since the width of container data depends on the arch, so I just added
the container-size at the end.
Cc: [email protected]
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Cc: Steven Rostedt <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions
