summaryrefslogtreecommitdiffstats
path: root/scripts/tracetool/backend/ust.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tracetool/backend/ust.py')
-rw-r--r--scripts/tracetool/backend/ust.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/tracetool/backend/ust.py b/scripts/tracetool/backend/ust.py
index 6c0a5f8d68..c857516f21 100644
--- a/scripts/tracetool/backend/ust.py
+++ b/scripts/tracetool/backend/ust.py
@@ -19,11 +19,7 @@ PUBLIC = True
def generate_h_begin(events, group):
- if group == "root":
- header = "trace-ust-root.h"
- else:
- header = "trace-ust.h"
-
+ header = 'trace-ust-' + group + '.h'
out('#include <lttng/tracepoint.h>',
'#include "%s"' % header,
'',