Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
g_hash_table_iter_init(&iter, data->perf_list);
while (g_hash_table_iter_next (&iter, &key, (gpointer) &perfn1)) {
if (perfn1->visible) {
- /* + 6 to strip the "_perf_" prefix */
+ /* + 5 to strip the "perf_" prefix */
mvwprintw(center, 1, perf_row, "%s",
- (char *) key + 6);
+ (char *) key + 5);
perf_row += 20;
}
if (perfn1->sort) {
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;