git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
trace: remove size limit on CTF event description
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_common_trace_ctf.c
diff --git
a/lib/librte_eal/common/eal_common_trace_ctf.c
b/lib/librte_eal/common/eal_common_trace_ctf.c
index
174cdac
..
ac1f64d
100644
(file)
--- a/
lib/librte_eal/common/eal_common_trace_ctf.c
+++ b/
lib/librte_eal/common/eal_common_trace_ctf.c
@@
-233,7
+233,8
@@
meta_event_emit(char **meta, int *offset, struct trace_point *tp)
" fields := struct {\n"
" %s\n"
" };\n"
- "};\n\n", trace_id_get(tp->handle), tp->name, tp->ctf_field);
+ "};\n\n", trace_id_get(tp->handle), tp->name,
+ tp->ctf_field != NULL ? tp->ctf_field : "");
return meta_copy(meta, offset, str, rc);
}