Coder Social home page Coder Social logo

Comments (6)

aalexand avatar aalexand commented on May 14, 2024

@lannadorai PTAL, but I think these are benign in most cases. We should probably downgrade the logging severity?

from perf_data_converter.

tamird avatar tamird commented on May 14, 2024

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.

lannadorai avatar lannadorai commented on May 14, 2024

@tamird Could you please share the perf.data files for both the cases?

from perf_data_converter.

tamird avatar tamird commented on May 14, 2024

from perf_data_converter.

lannadorai avatar lannadorai commented on May 14, 2024

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.

aalexand avatar aalexand commented on May 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.