projects
/
lttngtop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use bt_ctf_iter_destroy instead of generic destroy
[lttngtop.git]
/
src
/
lttngtop.c
diff --git
a/src/lttngtop.c
b/src/lttngtop.c
index c4dc4ced60fc0098f307bf5d490c13ff24dec61d..95bd383e6d8b4f4b8f8d5c11cfe114b7f16b5052 100644
(file)
--- a/
src/lttngtop.c
+++ b/
src/lttngtop.c
@@
-212,7
+212,7
@@
void extract_perf_counter_scope(struct bt_ctf_event *event,
for (i = 0; i < count; i++) {
const char *name = bt_ctf_field_name(list[i]);
for (i = 0; i < count; i++) {
const char *name = bt_ctf_field_name(list[i]);
- if (strncmp(name, "
_perf_", 6
) == 0) {
+ if (strncmp(name, "
perf_", 5
) == 0) {
int value = bt_ctf_get_uint64(list[i]);
if (bt_ctf_field_get_error())
continue;
int value = bt_ctf_get_uint64(list[i]);
if (bt_ctf_field_get_error())
continue;
@@
-434,7
+434,7
@@
void iter_trace(struct bt_context *bt_ctx)
sem_wait(&end_trace_sem);
end_iter:
sem_wait(&end_trace_sem);
end_iter:
- bt_
iter_destroy(bt_ctf_get_iter(iter)
);
+ bt_
ctf_iter_destroy(iter
);
}
/*
}
/*
This page took
0.022854 seconds
and
4
git commands to generate.