X-Git-Url: http://git.liburcu.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Flttngtop.c;h=e4979ebb1f2bd68e178a5d201fd9e247c2286b0f;hp=c4dc4ced60fc0098f307bf5d490c13ff24dec61d;hb=6419078db4c549a21e906d5eefcd506b2087114e;hpb=71bd7ce14826a0d7067c45657f33080e546cd5dc diff --git a/src/lttngtop.c b/src/lttngtop.c index c4dc4ce..e4979eb 100644 --- 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]); - 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;