tracetool: Add support for the 'simple' backendSigned-off-by: Lluís Vilanova <vilanova@ac.upc.edu>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
tracetool: Add support for the 'stderr' backendSigned-off-by: Lluís Vilanova <vilanova@ac.upc.edu>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
tracetool: Rewrite infrastructure as python modulesThe tracetool script is written in shell and has hit several portabilityproblems due to shell quirks or external tools across host platforms.Add
tracetool: Rewrite infrastructure as python modulesThe tracetool script is written in shell and has hit several portabilityproblems due to shell quirks or external tools across host platforms.Additionally the amount of string processing and lack of real datastructures makes it tough to implement code generator backends fortracers that are more complex.This patch replaces the shell version of tracetool with a Pythonversion. The new tracetool design is: scripts/tracetool.py - top-level script scripts/tracetool/backend/ - tracer backends live here (simple, ust) scripts/tracetool/format/ - output formats live here (.c, .h)There is common code for trace-events definition parsing so thatbackends can focus on generating code rather than parsing input.Support for all existing backends (nop, stderr, simple, ust,and dtrace) is added back in follow-up patches.[Commit description written by Stefan Hajnoczi]Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
show more ...
123