summaryrefslogtreecommitdiff
path: root/tools/trace/tcreator/template.h
diff options
context:
space:
mode:
authorNélio Laranjeiro2010-04-12 00:10:43 +0200
committerNélio Laranjeiro2010-04-12 00:10:43 +0200
commit3f9ec36bf414b08ac2ee0f62927997b8e0c127cb (patch)
tree17a6dfc9bb865081ed5a8b2b6d634b3e0d187720 /tools/trace/tcreator/template.h
parent0eb3874c27be75da36f39093ecfb603dc8fe7012 (diff)
{tools/trace, digital/avr/modules/trace}: print trace on host execution, closes #92
Diffstat (limited to 'tools/trace/tcreator/template.h')
-rw-r--r--tools/trace/tcreator/template.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/tools/trace/tcreator/template.h b/tools/trace/tcreator/template.h
index 3e83692e..aa62d8eb 100644
--- a/tools/trace/tcreator/template.h
+++ b/tools/trace/tcreator/template.h
@@ -1,6 +1,6 @@
-#ifndef %%template%%
-#define %%template%%
-/* %%template%% */
+#ifndef events_h
+#define events_h
+/* trace_events_h */
/* {{{
*
* Copyright (C) %%year%% APBTeam
@@ -25,9 +25,13 @@
*
* }}} */
-enum %%enum_name%%
+enum trace_id_t
{
-%%data%%
+%%ids%%
};
-#endif /* %%template%% */
+#ifndef HOST
+extern char *trace_table[%%NB%%];
+#endif /* !HOST */
+
+#endif /* events_h */