From: Lluís Vilanova Date: Tue, 3 Apr 2012 18:47:44 +0000 (+0200) Subject: tracetool: Add module for the 'c' format X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5de7f9c8eefcb42e5657817574b6f8b3b3720af2;p=qemu.git tracetool: Add module for the 'c' format Signed-off-by: Lluís Vilanova Signed-off-by: Stefan Hajnoczi --- 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 " +__copyright__ = "Copyright 2012, Lluís Vilanova " +__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. */')