Statistics
| Branch: | Revision:

root / scripts / tracetool @ c48c6522

Name Size
  backend
  format
__init__.py 7.4 kB

Latest revisions

# Date Author Comment
45d6c787 05/01/2012 10:15 pm Stefan Hajnoczi

tracetool: use Python 2.4-compatible import() arguments

In Python 2.5 keyword arguments were added to import(). Avoid using
them to achieve Python 2.4 compatibility.

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Lluís Vilanova <>

b3ef0ade 05/01/2012 10:15 pm Stefan Hajnoczi

tracetool: avoid str.rpartition() Python 2.5 function

The str.rpartition() function is related to str.split() and is used for
splitting strings. It was introduced in Python 2.5 and therefore cannot
be used in tracetool as Python 2.4 compatibility is required....

9943e0ec 05/01/2012 10:15 pm Stefan Hajnoczi

tracetool: avoid pkgutil.iter_modules() Python 2.7 function

The pkgutil.iter_modules() function provides a way to enumerate child
modules. Unfortunately it's missing in Python <2.7 so we must implement
similar behavior ourselves.

Signed-off-by: Stefan Hajnoczi <>...

9008d85a 04/18/2012 04:03 pm Lluís Vilanova

tracetool: Add support for the 'stderr' backend

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

dd03a39e 04/18/2012 04:03 pm Lluís Vilanova

tracetool: Add support for the 'simple' backend

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

fbc54b94 04/18/2012 04:03 pm Lluís Vilanova

tracetool: Add support for the 'ust' backend

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

52ef093a 04/18/2012 04:03 pm Lluís Vilanova

tracetool: Add support for the 'dtrace' backend

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

256a721d 04/18/2012 04:03 pm Stefan Hajnoczi

tracetool: handle DTrace keywords 'in', 'next', 'self'

Language keywords cannot be used as argument names. The DTrace backend
appends an underscore to the argument name in order to make the argument
name legal.

This patch adds 'in', 'next', and 'self' keywords to dtrace.py....

5de7f9c8 04/18/2012 04:02 pm Lluís Vilanova

tracetool: Add module for the 'c' format

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

c419e62a 04/18/2012 04:02 pm Lluís Vilanova

tracetool: Add module for the 'h' format

Signed-off-by: Lluís Vilanova <>
Signed-off-by: Stefan Hajnoczi <>

View revisions

Also available in: Atom