Comments (3)
I was kinda hoping we could ignore PERF_SAMPLE_REGS_USER
if it's not supported yet, like we do for UNKNOWN_EVENT_17
.
from perf_data_converter.
I have the same issue on the current latest master commit:
aris@linux:~/sources/perf_data_converter$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
aris@linux:~/sources/perf_data_converter$ perf --version
perf version 5.4.189
aris@linux:~/sources/perf_data_converter$ git rev-parse HEAD
3a630ff16ba6a8ba8e834d9a2acf3f06a879cadf
I run
perf record --call-graph=dwarf -p `pidof mserver5`
which works fine, e.g. I can transform all of this into a nice flamegraph following Brendan Gregg's approach. But I prefer to use KCachegrind for this kind of profile analysis. I have succesfully used gperftools
to do this. Now I am trying a similar route with perf_stat
.
But as for this tool, the error happens both with default strictest setting (3) for /proc/sys/kernel/perf_event_paranoid
which requires me to use sudo
to execute perf
command and which gives similar output as @mhansen and it happens with the most relaxed setting (-1). Although with the most relaxed setting, I have less output:
aris@linux:~/sources/monetdb/default$ perf_to_profile -i perf.data -o data.prof
[WARNING:src/quipper/perf_reader.cc:1320] Skipping 104 bytes of metadata: HEADER_CPU_TOPOLOGY
[WARNING:src/quipper/perf_reader.cc:1067] Skipping unsupported event PERF_RECORD_CPU_MAP
[ERROR:src/quipper/sample_info_reader.cc:402] PERF_SAMPLE_REGS_USER is not yet supported.
[ERROR:src/quipper/perf_reader.cc:1051] Couldn't read event PERF_RECORD_SAMPLE
[ERROR:src/perf_data_converter.cc:749] Could not read input perf.data
[FATAL:src/perf_to_profile.cc:33] Expected profile vector to have one element.
from perf_data_converter.
To clarify the current state:
At Google we do not use collection modes that can result in user mode register values to be recorded in the perf.data file. Hence the priority for us to work on this issue is low and we don't anticipate addressing or triaging it further soon.
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
- 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
- perf_to_profile drops perf symbols 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.