Skip to content

Precompilation fails: category raw not found #1

@carstenbauer

Description

@carstenbauer

Hi Valentin,

was trying to play around with this package. However, I see:

julia> using Roofline
[ Info: Precompiling Roofline [d4e4e2e9-28a3-46a5-80e6-6c3e12a83ea5]
ERROR: LoadError: category raw not found
Stacktrace:
 [1] error(s::String)
   @ Base ~/.julia/sysimgs/std.so:-1
 [2] LinuxPerf.EventType(cat::Symbol, event::Symbol)
   @ LinuxPerf ~/.julia/packages/LinuxPerf/wNit0/src/LinuxPerf.jl:169
 [3] top-level scope
   @ ~/.julia/packages/Roofline/PvE3A/src/Roofline.jl:95
 [4] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
   @ Base ~/.julia/sysimgs/std.so:-1
 [5] _include(mapexpr::Function, mod::Module, _path::String)
   @ Base ~/.julia/sysimgs/std.so:-1
 [6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
   @ Base ~/.julia/sysimgs/std.so:-1
 [7] top-level scope
   @ none:1
in expression starting at /Users/crstnbr/.julia/packages/Roofline/PvE3A/src/Roofline.jl:1
julia> versioninfo()
Julia Version 1.6.0
Commit f9720dc2eb (2021-03-24 12:55 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.6.0)
  CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)

I'm confused by the fact that the category :raw doesn't seem to have ever existed in LinuxPerf.jl - I checked git log -S :raw without any results.

Do you know what's going on?

Best,
Carsten

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions