aboutsummaryrefslogtreecommitdiff
path: root/scripts/tracetool/backend/syslog.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tracetool/backend/syslog.py')
-rw-r--r--scripts/tracetool/backend/syslog.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/tracetool/backend/syslog.py b/scripts/tracetool/backend/syslog.py
index 89019bc759..b8ff2790c4 100644
--- a/scripts/tracetool/backend/syslog.py
+++ b/scripts/tracetool/backend/syslog.py
@@ -19,13 +19,12 @@ from tracetool import out
PUBLIC = True
-def generate_h_begin(events):
+def generate_h_begin(events, group):
out('#include <syslog.h>',
- '#include "trace/control.h"',
'')
-def generate_h(event):
+def generate_h(event, group):
argnames = ", ".join(event.args.names())
if len(event.args) > 0:
argnames = ", " + argnames