X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcommon.c;h=5bbbf992d0adc34279e6ed7ea16eec2bc86e60f8;hp=3051f7e3b62b0ab7ac0d5c8cf6d74d291bfc48fa;hb=0d91c12a62aa85d1d1d8b5478e81d38e06f2cc00;hpb=928f18a6c02cf1eaafb7b60cb72860ed68d7456b diff --git a/src/common.c b/src/common.c index 3051f7e..5bbbf99 100644 --- a/src/common.c +++ b/src/common.c @@ -360,11 +360,9 @@ struct lttngtop* get_copy_lttngtop(unsigned long start, unsigned long end) dst->process_table = g_ptr_array_new(); dst->files_table = g_ptr_array_new(); dst->cpu_table = g_ptr_array_new(); - dst->perf_list = g_hash_table_new(g_str_hash, g_str_equal); rotate_cputime(end); - g_hash_table_foreach(lttngtop.perf_list, copy_perf_counter, dst->perf_list); for (i = 0; i < lttngtop.process_table->len; i++) { tmp = g_ptr_array_index(lttngtop.process_table, i); new = g_new0(struct processtop, 1);