diff options
| author | Jiri Olsa <[email protected]> | 2017-10-11 17:01:37 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-11-13 09:39:59 -0300 |
| commit | c835e1914c4bcfdd41f43d270cafc6d8119d7782 (patch) | |
| tree | 250f7eef4f1a04c99521de5df5459c5857b86bee /tools/perf/scripts/python | |
| parent | 5b12adc849be011fd6d99a16e39d83afee43c0a0 (diff) | |
perf annotate: Add annotation_line__(new|delete) functions
Changing the way the annotation lines are allocated and adding
annotation_line__(new|delete) functions to deal with this.
Before the allocation schema was as follows:
-----------------------------------------------------------
struct disasm_line | struct annotation_line | private space
-----------------------------------------------------------
Where the private space is used in TUI code to store computed
annotation data for events. The stdio code computes the data
on the fly.
The goal is to compute and store annotation line's data directly
in the struct annotation_line itself, so this patch changes the
line allocation schema as follows:
------------------------------------------------------------
privsize space | struct disasm_line | struct annotation_line
------------------------------------------------------------
Moving struct annotation_line to the end, because in following
changes we will move here the non-fixed length event's data.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions