[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/8] trace: [tracetool] Show list of frontends and b
From: |
Lluís Vilanova |
Subject: |
[Qemu-devel] [PATCH 5/8] trace: [tracetool] Show list of frontends and backends sorted by name |
Date: |
Sun, 23 Feb 2014 20:37:24 +0100 |
User-agent: |
StGit/0.16 |
Signed-off-by: Lluís Vilanova <address@hidden>
---
scripts/tracetool/backend/__init__.py | 2 +-
scripts/tracetool/format/__init__.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/tracetool/backend/__init__.py
b/scripts/tracetool/backend/__init__.py
index f0314ee..88f94fd 100644
--- a/scripts/tracetool/backend/__init__.py
+++ b/scripts/tracetool/backend/__init__.py
@@ -59,7 +59,7 @@ def get_list(only_public = False):
for filename in os.listdir(tracetool.backend.__path__[0]):
if filename.endswith('.py') and filename != '__init__.py':
modnames.append(filename.rsplit('.', 1)[0])
- for modname in modnames:
+ for modname in sorted(modnames):
module = tracetool.try_import("tracetool.backend." + modname)
# just in case; should never fail unless non-module files are put there
diff --git a/scripts/tracetool/format/__init__.py
b/scripts/tracetool/format/__init__.py
index 3c2a0d8..2bbbba7 100644
--- a/scripts/tracetool/format/__init__.py
+++ b/scripts/tracetool/format/__init__.py
@@ -34,7 +34,7 @@ nop Called to generate the per-event contents when the
event is disabled or
"""
__author__ = "Lluís Vilanova <address@hidden>"
-__copyright__ = "Copyright 2012, Lluís Vilanova <address@hidden>"
+__copyright__ = "Copyright 2012-2014, Lluís Vilanova <address@hidden>"
__license__ = "GPL version 2 or (at your option) any later version"
__maintainer__ = "Stefan Hajnoczi"
@@ -53,7 +53,7 @@ def get_list():
for filename in os.listdir(tracetool.format.__path__[0]):
if filename.endswith('.py') and filename != '__init__.py':
modnames.append(filename.rsplit('.', 1)[0])
- for modname in modnames:
+ for modname in sorted(modnames):
module = tracetool.try_import("tracetool.format." + modname)
# just in case; should never fail unless non-module files are put there
- [Qemu-devel] [PATCH 0/8] Tracetool cleanup, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 1/8] trace: [tracetool] Add method 'Event.api' to build event names, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 2/8] trace: [tracetool] Add methods 'Event.copy' and 'Arguments.copy', Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 3/8] trace: [tracetool] Spacing changes, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 4/8] trace: [tracetool] Cosmetic changes, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 6/8] trace: [tracetool] Change format docs to point to the generated file, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 5/8] trace: [tracetool] Show list of frontends and backends sorted by name,
Lluís Vilanova <=
- [Qemu-devel] [PATCH 7/8] trace: [simple] Bump up log version number, Lluís Vilanova, 2014/02/23
- [Qemu-devel] [PATCH 8/8] trace: [tracetool] Minimize the amount of per-backend code, Lluís Vilanova, 2014/02/23