Skip to content

AMD (Genoa) architecture not recognized #138

@hsane-dev

Description

@hsane-dev

When trying to run on m7a.8xl or 32 core Genoa, the tool (binary or build from scratch) results in "architecture not recognized", although the specific architecture files can be found.

Please find the paste from the log file:

time=2025-01-03T23:15:02.439Z level=INFO msg="Starting up" app=perfspect version=3.1.0_2024-12-28_789175b2 PID=2591 arguments="./perfspect metrics"
time=2025-01-03T23:15:02.758Z level=INFO msg="Using Linux perf" target=hsane-tools path=/tmp/perfspect.tmp.2933821012/perf
time=2025-01-03T23:15:02.792Z level=ERROR msg="error running script on target" script="/tmp/perfspect.tmp.2933821012/perf stat -a -e cpu/event=0x2a,umask=0x01,offcore_rsp=0x104004477,name='OCR.READS_TO_CORE.LOCAL_DRAM'/ sleep 1" stdout="" stderr="event syntax error: '..umask=0x01,offcore_rsp=0x104004477,name=OCR.READS_TO_C..'\n \___ unknown term 'offcore_rsp' for pmu 'cpu'\n\nvalid terms: event,edge,inv,umask,cmask,config,config1,config2,name,period,percore,metric-id\n\nInitial error:\nevent syntax error: '..umask=0x01,offcore_rsp=0x104004477,name=OCR.READS_TO_C..'\n \___ unknown term 'offcore_rsp' for pmu 'cpu'\n\nvalid terms: event,edge,inv,umask,cmask,config,config1,config2,name,period,percore,metric-id\nRun 'perf list' for a list of valid events\n\n Usage: perf stat [] []\n\n -e, --event event selector. use 'perf list' to list available events\n" exitcode=129 error="exit status 129"
time=2025-01-03T23:15:03.791Z level=WARN msg="Uncore devices not supported"
time=2025-01-03T23:15:03.803Z level=WARN msg="ref-cycles not supported" output=""
time=2025-01-03T23:15:03.803Z level=WARN msg="Fixed-counter TMA events not supported" output="\n Performance counter stats for 'system wide':\n\n 0 TOPDOWN.SLOTS \n 0 PERF_METRICS.BAD_SPECULATION \n\n 1.002642280 seconds time elapsed\n\n"
time=2025-01-03T23:15:03.805Z level=ERROR msg="error loading metadata" error="failed to determine if fixed-counter 'cpu-cycles' is supported: unsupported uarch: Genoa" target=hsane-tools
time=2025-01-03T23:15:03.805Z level=ERROR msg="error loading metadata" error="failed to determine if fixed-counter 'instructions' is supported: unsupported uarch: Genoa" target=hsane-tools
time=2025-01-03T23:15:03.805Z level=ERROR msg="error loading metadata" error="failed to determine if 'OCR' is supported: failed to determine if ocr is supported: event syntax error: '..umask=0x01,offcore_rsp=0x104004477,name=OCR.READS_TO_C..'\n \___ unknown term 'offcore_rsp' for pmu 'cpu'\n\nvalid terms: event,edge,inv,umask,cmask,config,config1,config2,name,period,percore,metric-id\n\nInitial error:\nevent syntax error: '..umask=0x01,offcore_rsp=0x104004477,name=OCR.READS_TO_C..'\n \___ unknown term 'offcore_rsp' for pmu 'cpu'\n\nvalid terms: event,edge,inv,umask,cmask,config,config1,config2,name,period,percore,metric-id\nRun 'perf list' for a list of valid events\n\n Usage: perf stat [] []\n\n -e, --event event selector. use 'perf list' to list available events\n, 129, exit status 129" target=hsane-tools
time=2025-01-03T23:15:03.805Z level=ERROR msg="failed to prepare metrics" target=hsane-tools error="target not supported, see log for details"
time=2025-01-03T23:15:03.805Z level=ERROR msg="no targets had metrics prepared"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions