projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add options to set subbuf size and cnt
[ust.git]
/
libust
/
tracer.c
diff --git
a/libust/tracer.c
b/libust/tracer.c
index d5ec43e8356c2e527bc5642cc301fe1edb273770..52928b836ba290c9d67d1ce45cc63377b32ba693 100644
(file)
--- a/
libust/tracer.c
+++ b/
libust/tracer.c
@@
-630,6
+630,11
@@
int ltt_trace_alloc(const char *trace_name)
ltt_lock_traces();
+ if (_ltt_trace_find(trace_name)) { /* Trace already allocated */
+ err = 1;
+ goto traces_error;
+ }
+
trace = _ltt_trace_find_setup(trace_name);
if (!trace) {
ERR("Trace not found %s", trace_name);
This page took
0.023205 seconds
and
4
git commands to generate.