diff options
author | Lluís Vilanova <vilanova@ac.upc.edu> | 2012-04-03 20:47:44 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-04-18 14:02:59 +0100 |
commit | 5de7f9c8eefcb42e5657817574b6f8b3b3720af2 (patch) | |
tree | fe74f8155152fc95b2871ad1afa96a48f7d75ed3 /scripts/tracetool/format/c.py | |
parent | 650ab98d1d9551f0ca2180c0d88427acfcb081cf (diff) |
tracetool: Add module for the 'c' format
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'scripts/tracetool/format/c.py')
-rw-r--r-- | scripts/tracetool/format/c.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/tracetool/format/c.py b/scripts/tracetool/format/c.py new file mode 100644 index 0000000000..35555aee1f --- /dev/null +++ b/scripts/tracetool/format/c.py @@ -0,0 +1,20 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +""" +Generate .c file. +""" + +__author__ = "Lluís Vilanova <vilanova@ac.upc.edu>" +__copyright__ = "Copyright 2012, Lluís Vilanova <vilanova@ac.upc.edu>" +__license__ = "GPL version 2 or (at your option) any later version" + +__maintainer__ = "Stefan Hajnoczi" +__email__ = "stefanha@linux.vnet.ibm.com" + + +from tracetool import out + + +def begin(events): + out('/* This file is autogenerated by tracetool, do not edit. */') |