Public bug reported:
For example running
$ perf c2c record ls
event syntax error: '..em-loads,ldlat=30/P'
\___ Bad event or PMU
Unable to find PMU or event on a PMU of 'cpu_atom'
Initial error:
event syntax error: '..em-loads,ldlat=30/P'
\___ unknown term 'ldlat' for pmu 'cpu_atom'
valid terms:
event,pc,edge,inv,umask,cmask,config,config1,config2,config3,name,period,freq,branch_type,time,call-graph,stack-size,no-inherit,inherit,max-stack,nr,no-overwrite,overwrite,driver-config,percore,aux-output,aux-sample-size,metric-id,raw,legacy-cache,hardware
Run 'perf list' for a list of valid events
Usage: perf record [<options>] [<command>]
or: perf record [<options>] -- <command> [<options>]
-e, --event <event> event selector. use 'perf list' to list
available events
$ perf c2c record -e list
ldlat-loads : available
ldlat-stores : available
$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04 LTS
Release: 24.04
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-tools-6.8.0-40-generic 6.8.0-40.40
ProcVersionSignature: Ubuntu 6.8.0-40.40-generic 6.8.12
Uname: Linux 6.8.0-40-generic x86_64
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/seq: gdm 1062 F.... pipewire
/dev/snd/controlC0: gdm 1067 F.... wireplumber
CRDA: N/A
CasperMD5CheckResult: pass
Date: Fri Aug 16 08:46:54 2024
InstallationDate: Installed on 2024-08-15 (0 days ago)
InstallationMedia: Ubuntu-Server 24.04 LTS "Noble Numbat" - Release amd64
(20240423)
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 26ce:01a2 ASRock LED Controller
Bus 001 Device 003: ID 8087:0033 Intel Corp. AX211 Bluetooth
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Lsusb-t:
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/16p, 480M
|__ Port 013: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid,
12M
|__ Port 014: Dev 003, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 014: Dev 003, If 1, Class=Wireless, Driver=btusb, 12M
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/9p, 20000M/x2
MachineType: To Be Filled By O.E.M. H670M-ITX/ax
ProcEnviron:
LANG=en_GB.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-40-generic
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet nohz=on nohz_full=1-5
rcu_nocbs=1-5 isolcpus=1-5 mitigations=off transparent_hugepage=never
intel_pstate=disable nosoft lockup irqaffinity=0 processor.max_cstate=1
RelatedPackageVersions:
linux-restricted-modules-6.8.0-40-generic N/A
linux-backports-modules-6.8.0-40-generic N/A
linux-firmware 20240318.git3b128b60-0ubuntu2.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/22/2022
dmi.bios.release: 5.25
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: 8.02
dmi.board.name: H670M-ITX/ax
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:bvnAmericanMegatrendsInternational,LLC.:bvr8.02:bd06/22/2022:br5.25:svnToBeFilledByO.E.M.:pnH670M-ITX/ax:pvrToBeFilledByO.E.M.:rvnASRock:rnH670M-ITX/ax:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: H670M-ITX/ax
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.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2077153
Title:
perf c2c record is not working
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2077153/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs