https://sourceware.org/bugzilla/show_bug.cgi?id=31123

--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Vladimir Mezentsev
<vmeze...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ee7af0e7107e918d37bd2686fea1db8f88d2242a

commit ee7af0e7107e918d37bd2686fea1db8f88d2242a
Author: Vladimir Mezentsev <vladimir.mezent...@oracle.com>
Date:   Thu May 16 21:00:51 2024 -0700

    gprofng: add hardware counters for AMD Zen3

    Historically, we have used several APIs (perfctr, libcpc, perf_event_open)
for profiling.
    For each hardware we have several tables of hardware counters.
    Some information is duplicated in these tables.
    Some of the information is no longer used.
    I did not touch the existing hwc tables.
    I added a new hwc table for an AMD Zen3 machine.

    ChangeLog
    2024-05-16  Vladimir Mezentsev  <vladimir.mezent...@oracle.com>

            PR gprofng/31123
            * common/core_pcbe.c (core_pcbe_get_events): Add new argument.
            * common/hwc_cpus.h: New constants for AMD hardware.
            * common/hwcdrv.c: Add new argument to hwcdrv_get_descriptions.
            Clean up the code.
            * common/hwcdrv.h: Likewise.
            * common/hwcfuncs.c (hwcdrv_get_descriptions): Add new argument.
            * common/hwctable.c: Add the hwc table for AMD Zen3.
            * src/hwc_amd_zen3.h: New file.
            * common/opteron_pcbe.c: Add new argument to opt_pcbe_get_events.
            * src/collctrl.cc: Remove unused variable.
            * src/collctrl.h: Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to