"trace-cmd report -f" functionality different than expected

Bug #1868900 reported by one one
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
trace-cmd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

May be an unclear man page description or a bug. Tested on up to date ubuntu 18.04.4 LTS and 19.10 The command in question is:

trace-cmd report -f

From the man page:

-f: This outputs the list of functions that have been recorded in the file.

Expected result: Lists the functions that were traced (recorded in the .dat file)

Actual result: no matter what command was traced for the .dat, lists the same very large set of functions which appears to be similar to the entire /proc/kallsyms listing or all traceable functions, not just the ones that were traced. Without using the -f command, the report appears to be correct.

Note, the .dat is being generated by:

trace-cmd record -p function_graph -F <command>

where <command> is something like true, ls, ping, or those but in a loop

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package trace-cmd - 2.9.1-1

---------------
trace-cmd (2.9.1-1) unstable; urgency=medium

  * Update to upstream v2.9.1
    - New version has updated manpages. (LP: #1868900)

 -- Sudip Mukherjee <email address hidden> Wed, 19 Aug 2020 20:51:17 +0100

Changed in trace-cmd (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.