projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix perf counter test bug
[lttng-modules.git]
/
lttng-context-perf-counters.c
diff --git
a/lttng-context-perf-counters.c
b/lttng-context-perf-counters.c
index e9a57888c4db8b1d818e76c17c1e10d9421809c4..ede510ecc16c726dfe76688518a1c57aa1fe816e 100644
(file)
--- a/
lttng-context-perf-counters.c
+++ b/
lttng-context-perf-counters.c
@@
-112,7
+112,7
@@
int lttng_add_perf_counter_to_ctx(uint32_t type,
}
name_alloc = kstrdup(name, GFP_KERNEL);
- if (!
field->event_field.name
)
+ if (!
name_alloc
)
goto name_alloc_error;
field = lttng_append_context(ctx);
This page took
0.023382 seconds
and
4
git commands to generate.