Git Product home page Git Product logo

Comments (10)

xry111 avatar xry111 commented on April 28, 2024

It's also breaking my GCC tree-prof testsuite.

from autofdo.

jingoo avatar jingoo commented on April 28, 2024

I also have the same issue 'Unknown event type 79'.
Is there anyone who fixed this problem?

from autofdo.

jingoo avatar jingoo commented on April 28, 2024

I found that the number '79' means PERF_RECORD_TIME_CONV.
Also, the patch for PERF_RECORD_TIME_CONV was already merged into the 'perf' source code in Linux kernel.
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=46bc29b970f0011a9099077f1db8f3540aa829fe)
I hope that my opinion is helpful.

from autofdo.

marxin avatar marxin commented on April 28, 2024

You're right, but problem is that the event is not recognized by autofdo. I've just wrote email to Andi Kleen. Hope he'll help us.

from autofdo.

marxin avatar marxin commented on April 28, 2024

It's fixed on master.

from autofdo.

MartinNowak avatar MartinNowak commented on April 28, 2024

Hello @marxin, I'm still running into this issue. Are you sure the fix was merged and landed in the github repo?

from autofdo.

danielcdh avatar danielcdh commented on April 28, 2024

Yes, it should have been fixed by b46d431

from autofdo.

jacksgt avatar jacksgt commented on April 28, 2024

Weird, I still have this issue.

  • Linux: 4.13.0-rc6+ (from git master)
  • Perf: 4.13.rc6.g647081 (from git master)
  • AutoFDO: master HEAD (153c178)
$ ~/autofdo/create_gcov --binary=./simple --profile=perf.inj --gcov=sort.gcov -gcov_version=1
E0830 05:50:06.959956  5916 perf_reader.cc:996] Unsupported event type 79
F0830 05:50:06.960176  5916 perf_parser.cc:240] Check failed: reader_.ReadPerfSampleInfo(*parsed_event.raw_event, &sample_info) 
*** Check failure stack trace: ***
    @     0x559ed4a6238e  google::LogMessage::Flush()
    @     0x559ed4a65359  google::LogMessageFatal::~LogMessageFatal()
    @     0x559ed4a58ba2  quipper::PerfParser::MaybeSortParsedEvents()
    @     0x559ed4a5a2c9  quipper::PerfParser::ProcessEvents()
    @     0x559ed4a5ba4c  quipper::PerfParser::ParseRawEvents()
    @     0x559ed4a3c2d0  autofdo::PerfDataSampleReader::Append()
    @     0x559ed4a3b793  autofdo::SampleReader::ReadAndSetTotalCount()
    @     0x559ed4a34332  autofdo::ProfileCreator::ReadSample()
    @     0x559ed4a35202  autofdo::ProfileCreator::CreateProfile()
    @     0x559ed4a2570d  main
    @     0x7f58fb47f2b1  (unknown)
    @     0x559ed4a26f0a  _start
    @              (nil)  (unknown)
Aborted

@danielcdh I also made sure the commit b46d431 is part of my build.

from autofdo.

VictorRodriguez avatar VictorRodriguez commented on April 28, 2024

This patch worked for me with linux 4.12, autofdo master and perf 4.12 :
andikleen@de91694

thanks

from autofdo.

jacksgt avatar jacksgt commented on April 28, 2024

@VictorRodriguez Thanks for the hint, works like a charm! 👍

from autofdo.

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.