[Bug 1678510] [NEW] gprof: get empty output
Eldar Khayrullin
1678510 at bugs.launchpad.net
Sat Apr 1 18:27:54 UTC 2017
Public bug reported:
OS: Ubuntu 16.10 x64.
Version: GNU gprof (GNU Binutils for Ubuntu) 2.27
Steps:
gcc tst.c -g -pg -o tst
./tst # produced gmon.out file
gprof ./tst
*************************Output****************************
Flat profile:
Each sample counts as 0.01 seconds.
no time accumulated
% cumulative self self total
time seconds seconds calls Ts/call Ts/call name
% the percentage of the total running time of the
time program used by this function.
cumulative a running sum of the number of seconds accounted
seconds for by this function and those listed above it.
self the number of seconds accounted for by this
seconds function alone. This is the major sort for this
listing.
calls the number of times this function was invoked, if
this function is profiled, else blank.
self the average number of milliseconds spent in this
ms/call function per call, if this function is profiled,
else blank.
total the average number of milliseconds spent in this
ms/call function and its descendents per call, if this
function is profiled, else blank.
name the name of the function. This is the minor sort
for this listing. The index shows the location of
the function in the gprof listing. If the index is
in parenthesis it shows where it would appear in
the gprof listing if it were to be printed.
Copyright (C) 2012-2016 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
** Affects: binutils (Ubuntu)
Importance: Undecided
Status: New
** Tags: gprof
** Summary changed:
- gprof: get empty list
+ gprof: get empty output
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1678510
Title:
gprof: get empty output
Status in binutils package in Ubuntu:
New
Bug description:
OS: Ubuntu 16.10 x64.
Version: GNU gprof (GNU Binutils for Ubuntu) 2.27
Steps:
gcc tst.c -g -pg -o tst
./tst # produced gmon.out file
gprof ./tst
*************************Output****************************
Flat profile:
Each sample counts as 0.01 seconds.
no time accumulated
% cumulative self self total
time seconds seconds calls Ts/call Ts/call name
% the percentage of the total running time of the
time program used by this function.
cumulative a running sum of the number of seconds accounted
seconds for by this function and those listed above it.
self the number of seconds accounted for by this
seconds function alone. This is the major sort for this
listing.
calls the number of times this function was invoked, if
this function is profiled, else blank.
self the average number of milliseconds spent in this
ms/call function per call, if this function is profiled,
else blank.
total the average number of milliseconds spent in this
ms/call function and its descendents per call, if this
function is profiled, else blank.
name the name of the function. This is the minor sort
for this listing. The index shows the location of
the function in the gprof listing. If the index is
in parenthesis it shows where it would appear in
the gprof listing if it were to be printed.
Copyright (C) 2012-2016 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1678510/+subscriptions
More information about the foundations-bugs
mailing list