-
- Downloads
profiling: fix streaming of TOPN counters
libgcc/ChangeLog: PR gcov-profile/99105 * libgcov-driver.c (write_top_counters): Rename to ... (write_topn_counters): ... this. (write_one_data): Pre-allocate buffer for number of items in the corresponding linked lists. * libgcov.h (malloc_mmap): New function. (allocate_gcov_kvp): Use it. gcc/testsuite/ChangeLog: PR gcov-profile/99105 * gcc.dg/tree-prof/indir-call-prof-malloc.c: Use profile correction as the wrapped malloc is called one more time from libgcov. * gcc.dg/tree-prof/pr97461.c: Likewise.
Showing
- gcc/testsuite/gcc.dg/tree-prof/indir-call-prof-malloc.c 1 addition, 1 deletiongcc/testsuite/gcc.dg/tree-prof/indir-call-prof-malloc.c
- gcc/testsuite/gcc.dg/tree-prof/pr97461.c 1 addition, 1 deletiongcc/testsuite/gcc.dg/tree-prof/pr97461.c
- libgcc/libgcov-driver.c 47 additions, 8 deletionslibgcc/libgcov-driver.c
- libgcc/libgcov.h 14 additions, 3 deletionslibgcc/libgcov.h
Loading
Please register or sign in to comment