#736

failure to parse COMPRESSED2 record event data

Openabbycinopened 1y ago

Describe the bug

after click ViewResult it show nothing but a warning message: Sample contained no call frame

To Reproduce Steps to reproduce the behavior:

  1. record data
  2. view result

the command is

/usr/bin/perf record -o /home/abby/perf.data --call-graph dwarf,8192 --event l1i-load-misses,l1d-load-misses,branches,branch-misses,stalled-cycles-frontend -z 

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

Version Info (please complete the following information):

  • Linux Kernel version: 6.16.1
  • perf version: 6.16.1
  • hotspot version (appimage? selfcompiled?): v1.5.1 appimage
  • if self-compiled hotspot, what version of elfutils:

Additional context perf report can parse the perf.data that hotspot record

Activity

30
henklaak1y ago

The summary shows that no samples have been recorded at all. That's because you didn't ask perf the right question :-)

Add cycles to the --event option.

henklaak1y ago

The summary shows that no samples have been recorded at all. That's because you didn't ask perf the right question :-)

Add cycles to the --event option.

henklaak1y ago

The summary shows that no samples have been recorded at all. That's because you didn't ask perf the right question :-)

Add cycles to the --event option.

henklaak1y ago

The summary shows that no samples have been recorded at all. That's because you didn't ask perf the right question :-)

Add cycles to the --event option.

henklaak1y ago

The summary shows that no samples have been recorded at all. That's because you didn't ask perf the right question :-)

Add cycles to the --event option.

abbycin1y ago

The summary shows that no samples have been recorded at all. That's because you didn't ask perf the right question :-)

Add cycles to the --event option.

@henklaak it doesn't work

and as I mentioned earlier, perf report can parse the data recorded by hostspot

abbycin1y ago

The summary shows that no samples have been recorded at all. That's because you didn't ask perf the right question :-)

Add cycles to the --event option.

@henklaak it doesn't work

and as I mentioned earlier, perf report can parse the data recorded by hostspot

abbycin1y ago

The summary shows that no samples have been recorded at all. That's because you didn't ask perf the right question :-)

Add cycles to the --event option.

@henklaak it doesn't work

and as I mentioned earlier, perf report can parse the data recorded by hostspot

abbycin1y ago

The summary shows that no samples have been recorded at all. That's because you didn't ask perf the right question :-)

Add cycles to the --event option.

@henklaak it doesn't work

and as I mentioned earlier, perf report can parse the data recorded by hostspot

abbycin1y ago

The summary shows that no samples have been recorded at all. That's because you didn't ask perf the right question :-)

Add cycles to the --event option.

@henklaak it doesn't work

and as I mentioned earlier, perf report can parse the data recorded by hostspot

milianw1y ago

https://lore.kernel.org/all/20250303183646.327510-1-ctshao@google.com/

new compression type that's unhandled as of yet by us. will fix

milianw1y ago

https://lore.kernel.org/all/20250303183646.327510-1-ctshao@google.com/

new compression type that's unhandled as of yet by us. will fix

milianw1y ago

https://lore.kernel.org/all/20250303183646.327510-1-ctshao@google.com/

new compression type that's unhandled as of yet by us. will fix

milianw1y ago

https://lore.kernel.org/all/20250303183646.327510-1-ctshao@google.com/

new compression type that's unhandled as of yet by us. will fix

milianw1y ago

https://lore.kernel.org/all/20250303183646.327510-1-ctshao@google.com/

new compression type that's unhandled as of yet by us. will fix

Desour1y ago

It doesn't seem to work for me:

kf.coreaddons: "Could not find plugin kf6/parts/konsolepart"
feature not properly read PerfHeader::CPU_TOPOLOGY 516 348
unhandled feature PerfHeader::CACHE 2868
unhandled feature PerfHeader::MEM_TOPOLOGY 64
unhandled feature PerfHeader::BPF_PROG_INFO 4
unhandled feature PerfHeader::BPF_BTF 4
unhandled feature PerfHeader::CPU_PMU_CAPS 140
unhandled feature PerfHeader::SAMPLE_TIME 16
Linux version "6.16-1" detected. Switching to automatic buffering.
unhandled event type 79   PERF_RECORD_TIME_CONV
unhandled event type 69   PERF_RECORD_ID_INDEX
unhandled event type 78   PERF_RECORD_EVENT_UPDATE
unhandled event type 73   PERF_RECORD_THREAD_MAP
unhandled event type 74   PERF_RECORD_CPU_MAP
unhandled event type 82   PERF_RECORD_FINISHED_INIT
bad PERF_RECORD_COMPRESSED2 size information 1767480404549108119 818
"The hotspot-perfparser binary exited with code 5 (invalid perf data file)."

I'm using hotspot from newest continuous appimage, perf 6.16-1, linux 6.16.4.zen1-1.

Desour1y ago

It doesn't seem to work for me:

kf.coreaddons: "Could not find plugin kf6/parts/konsolepart"
feature not properly read PerfHeader::CPU_TOPOLOGY 516 348
unhandled feature PerfHeader::CACHE 2868
unhandled feature PerfHeader::MEM_TOPOLOGY 64
unhandled feature PerfHeader::BPF_PROG_INFO 4
unhandled feature PerfHeader::BPF_BTF 4
unhandled feature PerfHeader::CPU_PMU_CAPS 140
unhandled feature PerfHeader::SAMPLE_TIME 16
Linux version "6.16-1" detected. Switching to automatic buffering.
unhandled event type 79   PERF_RECORD_TIME_CONV
unhandled event type 69   PERF_RECORD_ID_INDEX
unhandled event type 78   PERF_RECORD_EVENT_UPDATE
unhandled event type 73   PERF_RECORD_THREAD_MAP
unhandled event type 74   PERF_RECORD_CPU_MAP
unhandled event type 82   PERF_RECORD_FINISHED_INIT
bad PERF_RECORD_COMPRESSED2 size information 1767480404549108119 818
"The hotspot-perfparser binary exited with code 5 (invalid perf data file)."

I'm using hotspot from newest continuous appimage, perf 6.16-1, linux 6.16.4.zen1-1.

Desour1y ago

It doesn't seem to work for me:

kf.coreaddons: "Could not find plugin kf6/parts/konsolepart"
feature not properly read PerfHeader::CPU_TOPOLOGY 516 348
unhandled feature PerfHeader::CACHE 2868
unhandled feature PerfHeader::MEM_TOPOLOGY 64
unhandled feature PerfHeader::BPF_PROG_INFO 4
unhandled feature PerfHeader::BPF_BTF 4
unhandled feature PerfHeader::CPU_PMU_CAPS 140
unhandled feature PerfHeader::SAMPLE_TIME 16
Linux version "6.16-1" detected. Switching to automatic buffering.
unhandled event type 79   PERF_RECORD_TIME_CONV
unhandled event type 69   PERF_RECORD_ID_INDEX
unhandled event type 78   PERF_RECORD_EVENT_UPDATE
unhandled event type 73   PERF_RECORD_THREAD_MAP
unhandled event type 74   PERF_RECORD_CPU_MAP
unhandled event type 82   PERF_RECORD_FINISHED_INIT
bad PERF_RECORD_COMPRESSED2 size information 1767480404549108119 818
"The hotspot-perfparser binary exited with code 5 (invalid perf data file)."

I'm using hotspot from newest continuous appimage, perf 6.16-1, linux 6.16.4.zen1-1.

Desour1y ago

It doesn't seem to work for me:

kf.coreaddons: "Could not find plugin kf6/parts/konsolepart"
feature not properly read PerfHeader::CPU_TOPOLOGY 516 348
unhandled feature PerfHeader::CACHE 2868
unhandled feature PerfHeader::MEM_TOPOLOGY 64
unhandled feature PerfHeader::BPF_PROG_INFO 4
unhandled feature PerfHeader::BPF_BTF 4
unhandled feature PerfHeader::CPU_PMU_CAPS 140
unhandled feature PerfHeader::SAMPLE_TIME 16
Linux version "6.16-1" detected. Switching to automatic buffering.
unhandled event type 79   PERF_RECORD_TIME_CONV
unhandled event type 69   PERF_RECORD_ID_INDEX
unhandled event type 78   PERF_RECORD_EVENT_UPDATE
unhandled event type 73   PERF_RECORD_THREAD_MAP
unhandled event type 74   PERF_RECORD_CPU_MAP
unhandled event type 82   PERF_RECORD_FINISHED_INIT
bad PERF_RECORD_COMPRESSED2 size information 1767480404549108119 818
"The hotspot-perfparser binary exited with code 5 (invalid perf data file)."

I'm using hotspot from newest continuous appimage, perf 6.16-1, linux 6.16.4.zen1-1.

Desour1y ago

It doesn't seem to work for me:

kf.coreaddons: "Could not find plugin kf6/parts/konsolepart"
feature not properly read PerfHeader::CPU_TOPOLOGY 516 348
unhandled feature PerfHeader::CACHE 2868
unhandled feature PerfHeader::MEM_TOPOLOGY 64
unhandled feature PerfHeader::BPF_PROG_INFO 4
unhandled feature PerfHeader::BPF_BTF 4
unhandled feature PerfHeader::CPU_PMU_CAPS 140
unhandled feature PerfHeader::SAMPLE_TIME 16
Linux version "6.16-1" detected. Switching to automatic buffering.
unhandled event type 79   PERF_RECORD_TIME_CONV
unhandled event type 69   PERF_RECORD_ID_INDEX
unhandled event type 78   PERF_RECORD_EVENT_UPDATE
unhandled event type 73   PERF_RECORD_THREAD_MAP
unhandled event type 74   PERF_RECORD_CPU_MAP
unhandled event type 82   PERF_RECORD_FINISHED_INIT
bad PERF_RECORD_COMPRESSED2 size information 1767480404549108119 818
"The hotspot-perfparser binary exited with code 5 (invalid perf data file)."

I'm using hotspot from newest continuous appimage, perf 6.16-1, linux 6.16.4.zen1-1.