"perf record" doesn't have compression enabled

Bug #1905761 reported by Antoine Pitrou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

"perf record --help" indicates that it should support compression:

"""
       -z, --compression-level[=n]
           Produce compressed trace using specified level n (default: 1 - fastest compression, 22 - smallest trace)
"""

However, when trying to use that option, one gets the following error:
"""
  Error: unknown switch `z'

 Usage: perf record [<options>] [<command>]
    or: perf record [<options>] -- <command> [<options>]

[etc.]
"""

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-tools-common 5.4.0-54.60
ProcVersionSignature: Ubuntu 5.4.0-54.60-generic 5.4.65
Uname: Linux 5.4.0-54-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.12
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: antoine 2985 F.... pulseaudio
 /dev/snd/controlC1: antoine 2985 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Thu Nov 26 18:03:55 2020
InstallationDate: Installed on 2013-04-12 (2784 days ago)
InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130409)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
PackageArchitecture: all
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-54-generic root=UUID=ed011dc6-f138-4ba8-9e89-bc69c075a0d8 ro quiet splash nomodeset vga=845
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-54-generic N/A
 linux-backports-modules-5.4.0-54-generic N/A
 linux-firmware 1.187.4
RfKill:

SourcePackage: linux
UpgradeStatus: Upgraded to focal on 2020-09-06 (81 days ago)
dmi.bios.date: 07/03/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P5.50
dmi.board.name: X370 Gaming X
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP5.50:bd07/03/2019:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnX370GamingX:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
modified.conffile..etc.default.apport:
 # set this to 0 to disable apport, or to 1 to enable it
 # you can temporarily override this with
 # sudo service apport start force_start=1
 enabled=0
mtime.conffile..etc.default.apport: 2019-04-25T00:25:35.163654

Revision history for this message
Antoine Pitrou (pitrou) wrote :
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
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.