rr 5.8.0 does not work on i7-1355U
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- cpp, linux
- Área
- devtools, operating-systems
Línea de trabajo
Start at src/PerfCounters.cc:411 and reproduce with rr record ./a.out and perf stat -e r5111c4 true on the reported i7-1355U system. Trace how rr checks branch events and compare that with perf's unsupported-event result on Linux 6.8.0-45-generic. Done means the reported hardware configuration has a verified, appropriate rr outcome instead of the current abort.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I use rr 5.8.0 on a thinkpad l13 yoga gen 4. See below failure (even if perfs work, I added the result of lscpu too)
tmp ⟩ rr record ./a.out
rr: Saving execution to trace directory `/home/ilan/.local/share/rr/a.out-6'.
[FATAL src/PerfCounters.cc:411:check_working_counters()]
Got 0 branch events, expected at least 500.
The hardware performance counter seems to not be working. Check
that hardware performance counters are working by running
perf stat -e r5111c4 true
and checking that it reports a nonzero number of events.
If performance counters seem to be working with 'perf', file an
rr issue, otherwise check your hardware/OS/VM configuration. Also
check that other software is not using performance counters on
this CPU.
=== Start rr backtrace:
rr(_ZN2rr13dump_rr_stackEv+0x5a)[0x56200a6ea27a]
rr(_ZN2rr15notifying_abortEv+0x14)[0x56200a6ea2d4]
rr(+0xde664)[0x56200a6c9664]
rr(_ZN2rr12PerfCounters5startEPNS_4TaskEl+0xc77)[0x56200a7eb217]
rr(_ZN2rr4Task16resume_executionENS_13ResumeRequestENS_11WaitRequestENS_12TicksRequestEi+0x5fd)[0x56200a718aad]
rr(_ZN2rr13RecordSession13task_continueERKNS0_9StepStateE+0x3eb)[0x56200a7e042b]
rr(_ZN2rr13RecordSession11record_stepEv+0x38a)[0x56200a7d9ffa]
rr(_ZN2rr13RecordCommand3runERSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE+0xe14)[0x56200a
7deb14]
rr(main+0x199)[0x56200a6c4bc9]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fb1b1629d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fb1b1629e40]
rr(_start+0x2e)[0x56200a6c51be]
=== End rr backtrace
fish: Job 1, 'rr record ./a.out' terminated by signal SIGABRT (Abort)
tmp ⟩ perf stat -e r5111c4 true
WARNING: event 'N/A' not valid (bits 16,20,22 of config '5111c4' not supported by kernel)!
Performance counter stats for 'true':
<not counted> cpu_core/r5111c4/ (0,00%)
0,004004960 seconds time elapsed
0,001102000 seconds user
0,002204000 seconds sys
tmp ⟩ uname -r
6.8.0-45-generic
tmp ⟩ uname -a
Linux ILTY-401 6.8.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2 x86_64 x86_64 x86_6
4 GNU/Linux
tmp ⟩ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 39 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 12
On-line CPU(s) list: 0-11
Vendor ID: GenuineIntel
Model name: 13th Gen Intel(R) Core(TM) i7-1355U
CPU family: 6
Model: 186
Thread(s) per core: 2
Core(s) per socket: 10
Socket(s): 1
Stepping: 3
CPU max MHz: 5000,0000
CPU min MHz: 400,0000
BogoMIPS: 5222.40
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi m
mx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon p
ebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq
dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2a
pic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cp
uid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad f
sgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_
pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida
arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke wai
tpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flu
sh_l1d arch_capabilities
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 352 KiB (10 instances)
L1i: 576 KiB (10 instances)
L2: 6,5 MiB (4 instances)
L3: 12 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-11
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Reg file data sampling: Mitigation; Clear Register File
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW seque
nce; BHI BHI_DIS_S
Srbds: Not affected
Tsx async abort: Not affected
- Lenguaje dominante
- C++
- Estrellas
- 10.7k
- Forks
- 667
- Merge medio
- 1 d 21 h
- PR fusionados (30 d)
- 31
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de rr-debugger/rr
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
rr-debugger/rr#4145 ·
Los mantenedores suelen responder en 2 días
-
Intel Panther Lake PMU supportAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
rr-debugger/rr#4152 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
rr-debugger/rr#4146 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
rr-debugger/rr#4127 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
rr-debugger/rr#4060 · 5 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de rr-debugger/rr
Issues similares
-
Docs: CREATE GRAPH page says `USE my_graph`, but the working statement is `USE GRAPH my_graph`Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
godotengine/godot#125272 ·
Los mantenedores suelen responder en 1 día
-
bug impact: performance priority: med review: 2026-11 severity: med
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
mgradwohl/ModernLife#67 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
games-on-whales/wolf#569 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
cloudflare/workerd#8290 ·
Los mantenedores suelen responder en 1 día