mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07:00
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>
This commit is contained in:
parent
650ab98d1d
commit
5de7f9c8ee
1 changed files with 20 additions and 0 deletions
20
scripts/tracetool/format/c.py
Normal file
20
scripts/tracetool/format/c.py
Normal file
|
|
@ -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. */')
|
||||||
Loading…
Add table
Add a link
Reference in a new issue