Same thing for questing.

```
# lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 25.10
Release:        25.10
Codename:       questing

# uname -a
Linux k8s 6.17.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 18 10:10:29 
UTC 2025 x86_64 GNU/Linux

# ./repro
[*] Current perf_event_paranoid level: 4.
[*] This is a custom Ubuntu paranoid level.

[*] Current capabilities: cap_wake_alarm=i cap_perfmon+ep

[!] CPU_CYCLES: Impossible to open perf event
[!] INSTRUCTIONS: Impossible to open perf event
[!] CACHE_REFERENCES: Impossible to open perf event

Some events were not accessible with current capabilities

# # check node_exporter with CAP_PERFMON
# curl http://10.85.0.3:9100/metrics | grep -i perf
node_scrape_collector_duration_seconds{collector="perf"} 3.3062e-05
node_scrape_collector_success{collector="perf"} 1
```

Upgraded to the new kernel

```
# uname -a
Linux k8s 6.17.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 27 11:46:51 
UTC 2025 x86_64 GNU/Linux

# ./repro
[*] Current perf_event_paranoid level: 4.
[*] This is a custom Ubuntu paranoid level.

[*] Current capabilities: cap_wake_alarm=i cap_perfmon+ep

[*] CPU_CYCLES: Successfully opened perf event
[*] INSTRUCTIONS: Successfully opened perf event
[*] CACHE_REFERENCES: Successfully opened perf event

All perf events accessible with current capabilities

# # check node_exporter with CAP_PERFMON
# curl http://10.85.0.4:9100/metrics | grep -i perf
[...]
node_perf_stalled_cycles_frontend_total{cpu="9"} 2.092633195e+09
node_scrape_collector_duration_seconds{collector="perf"} 0.003582177
node_scrape_collector_success{collector="perf"} 1
```

** Tags removed: verification-needed-questing-linux
** Tags added: verification-done-questing-linux

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

Title:
  CAP_PERFMON insufficient to get perf data

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2131046/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to