Instruction trace error leading to error in trace loader of perfetto #271
rohanaggarwal7997
started this conversation in
General
Replies: 1 comment 1 reply
-
If i understand correctly, this is happening because of the following in my perf.data file. instruction trace error type 1 time 2511250.194562356 cpu 26 pid 12975 tid 13594 ip 0x7fbfa0be98b6 code 7: Overflow packet Is there a way to avoid this check in perfetto Or edit my perf.data file in someway that i don't hit this Or change magic in someway so that we ignore this ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi on using magic on a perf.data trace from intel pt i see the following output
[ Decoding, this takes a while... ]
Warning:
Processed 123788558 events and lost 52 chunks!
Check IO/CPU overload!
Warning:
1 instruction trace errors
On loading this fxt file to trace-loader of perfetto (as the file is larger than 2 gb), i face the following
[414.011] trace_sorter_queue.h:44 PERFETTO_CHECK(mem_blocks_.size() == 1) (errno: 0, Undefined error: 0)
-----BEGIN PERFETTO PRE-CRASH LOG-----
trace_uuid: 00000000-0000-0000-d919-7e42f24
[414.011] trace_sorter_queue.h:44 PERFETTO_CHECK(mem_blocks_.size() == 1) (errno: 0, Undefined error: 0)
-----END PERFETTO PRE-CRASH LOG-----
Illegal instruction
Is the problem in magic or in perfetto ? Any way to avoid this ?
perf command used was
perf record -m,512M --tid 13594 -e intel_pt/cyc=1,noretcomp=1/u -o output_location usleep 250000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.25" instead...
[ perf record: Woken up 17 times to write data ]
Warning:
Processed 726120 events and lost 52 chunks!
Check IO/CPU overload!
[ perf record: Captured and wrote 451.856 MB output_location ]
Beta Was this translation helpful? Give feedback.
All reactions