Comments (6)
@lannadorai PTAL, but I think these are benign in most cases. We should probably downgrade the logging severity?
from perf_data_converter.
Doing this again with file generated with perf record --call-graph dwarf
produces a fatal error:
[ERROR:perf_data_converter.cc:659] Could not read input perf.data
Expected profile vector to have one element.
Aborted
from perf_data_converter.
@tamird Could you please share the perf.data files for both the cases?
from perf_data_converter.
from perf_data_converter.
Below is the complete error log from perf_to_profile to convert a perf.data file generated with perf record --call-graph dwarf
:
[ERROR:quipper/sample_info_reader.cc:275] PERF_SAMPLE_REGS_USER is not yet supported.
[ERROR:quipper/sample_info_reader.cc:519] Read/skipped 184 bytes, expected 8568 bytes.
[ERROR:perf_data_converter.cc:659] Could not read input perf.data
Expected profile vector to have one element.
Aborted
It looks that quipper doesn't support PERF_SAMPLE_REGS_USER sample type. So, it fails to process perf.data containing this sample type.
Patches are welcome to add support for this sample type. We do not accept pull request because of the hassle of merging it with the upstream. However, you could add a link to a patch in this issue.
from perf_data_converter.
I am closing this issue because the original report which is error messages about addresses from the call stack not being within in mmap'ed regions was fixed by making that error message a warning. As for further comments in this discussion about the converter complaining about PERF_SAMPLE_REGS_USER and PERF_SAMPLE_STACK_USER types, I believe there is a way to make sure the perf.data file doesn't contain the data so I'd recommend trying that. Please comment further / re-open if there are still issues that can't be worked around easily.
from perf_data_converter.
Related Issues (20)
- ERROR: Analysis of target '//src:perf_to_profile' failed; build aborted: error loading package '@com_google_protobuf//': Unable to find package for @rules_java//java:defs.bzl: The repository '@rules_java' could not be resolved. HOT 4
- Build fails with 404 errors because bazel doesn't follow redirects HOT 4
- Could we get a command-line option for setting `kPidAndTidLabels`? HOT 1
- "PERF_SAMPLE_REGS_USER is not yet supported" fatal error on perf.data recorded with `--call-graph dwarf` HOT 3
- Build broken due to bad dependencies import HOT 1
- fips_break_test.h: No such file or directory HOT 2
- perf_to_profile fails with large (18gb) perf data HOT 3
- build error in centos
- failed to compile in linux environment HOT 6
- should kernel addr-- ? HOT 1
- perf_to_profile crashes on a 3GB perf.data file HOT 3
- Memory corruption when parsing malformed perf data files HOT 1
- build error using bazel HOT 3
- branch stack reader needs updating for new information HOT 4
- Cannot extract function name from perf.data HOT 1
- error when convert perf record data to profile HOT 2
- Compiler warnings when building perf_data_converter HOT 1
- build failed with bazel 4.0, Arch Linux HOT 3
- Build failing "fips.c: No such file or directory" since 15.03.2021 (boringssl) HOT 3
- Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perf_data_converter.