Public bug reported:

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

** Affects: trace-cmd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868900

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/trace-cmd/+bug/1868900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to