https://sourceware.org/bugzilla/show_bug.cgi?id=29083
Bug ID: 29083 Summary: The caller-callee view from the "gprofng display text" tool changes alignment Product: binutils Version: 2.39 (HEAD) Status: NEW Severity: enhancement Priority: P2 Component: gprofng Assignee: vladimir.mezentsev at oracle dot com Reporter: ruud.vanderpas at oracle dot com Target Milestone: --- Created attachment 14077 --> https://sourceware.org/bugzilla/attachment.cgi?id=14077&action=edit The attachment contains a directory that shows the problem The caller-callee view from "gprofng display text" changes the alignment for the last two columns half way the output and shifts the numbers to the right by one position. I attach two experiment directories and a run.sh script that shows the problem. Sample output is also included in file run.res. Both experiment directories are needed to reproduce the problem. In file run.res, you can see the change. In the fragment below, I show the output for 4 functions. Note the change under "Attr. IPC" for the 3-rd function drand48. As the 4-th block shows, this shift persists from there on. Name Attr. Attr. CPU Attr. Attr. Attr. Attr. Total Cycles Instructions Last-Level IPC CPI CPU sec. sec. Executed Cache Misses drand48 0.090 0.042 448140353 0 4.667 0.214 *erand48_r 0.060 0.042 416130352 0 4.333 0.231 __drand48_iterate 0.030 0. 32010001 0 0. 0. Name Attr. Attr. CPU Attr. Attr. Attr. Attr. Total Cycles Instructions Last-Level IPC CPI CPU sec. sec. Executed Cache Misses erand48_r 0.030 0. 32010001 0 0. 0. *__drand48_iterate 0.030 0. 32010001 0 0. 0. Name Attr. Attr. CPU Attr. Attr. Attr. Attr. Total Cycles Instructions Last-Level IPC CPI CPU sec. sec. Executed Cache Misses init_data 0.110 0.056 832260686 0 6.500 0.154 *drand48 0.020 0.014 384120333 0 12.000 0.083 erand48_r 0.090 0.042 448140353 0 4.667 0.214 Name Attr. Attr. CPU Attr. Attr. Attr. Attr. Total Cycles Instructions Last-Level IPC CPI CPU sec. sec. Executed Cache Misses <Total> 0.180 0.140 896280720 200211 2.800 0.357 *__libc_start_main 0. 0. 0 0 0. 0. main 0.180 0.140 896280720 200211 2.800 0.357 -- You are receiving this mail because: You are on the CC list for the bug.