[Bug gprofng/31123] improvements to hardware event implementation
https://sourceware.org/bugzilla/show_bug.cgi?id=31123 --- Comment #4 from Sourceware Commits --- The master branch has been updated by Vladimir Mezentsev : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=aea1188a2579b4fcb296f62528b0685173e4cdc5 commit aea1188a2579b4fcb296f62528b0685173e4cdc5 Author: Vladimir Mezentsev Date: Mon May 20 19:06:05 2024 -0700 gprofng: Remove hardware counter tables for unsupported hardware (Sparc) ChangeLog 2024-05-20 Vladimir Mezentsev PR gprofng/31123 * common/hwctable.c: Remove hardware counter tables for Sparc machines. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/31123] improvements to hardware event implementation
https://sourceware.org/bugzilla/show_bug.cgi?id=31123 --- Comment #2 from Sourceware Commits --- The master branch has been updated by Vladimir Mezentsev : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=663741df74f975ca00de84ba17d2cd8417bb1d03 commit 663741df74f975ca00de84ba17d2cd8417bb1d03 Author: Vladimir Mezentsev Date: Mon Apr 29 20:21:50 2024 -0700 gprofng: remove old interface with libcpc interface with libcpc was used on Solaris. gprofng doesn't support profiling on Solaris. I removed this old code and other unused macros and variables. gprofng/ChangeLog 2024-04-29 Vladimir Mezentsev PR gprofng/31123 * common/hwcdrv.c: remove old interface with libcpc. * common/hwcdrv.h: Likewise. * common/hwcentry.h: Likewise. * common/hwcfuncs.c: Likewise. * common/hwcfuncs.h: Likewise. * common/hwctable.c: Likewise. * src/Dbe.cc: Likewise. * src/collctrl.cc: Likewise. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/31123] improvements to hardware event implementation
https://sourceware.org/bugzilla/show_bug.cgi?id=31123 --- Comment #3 from Sourceware Commits --- The master branch has been updated by Vladimir Mezentsev : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ee7af0e7107e918d37bd2686fea1db8f88d2242a commit ee7af0e7107e918d37bd2686fea1db8f88d2242a Author: Vladimir Mezentsev 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 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.
[Bug gprofng/31123] improvements to hardware event implementation
https://sourceware.org/bugzilla/show_bug.cgi?id=31123 Kurt Goebel changed: What|Removed |Added Severity|normal |enhancement -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/31123] improvements to hardware event implementation
https://sourceware.org/bugzilla/show_bug.cgi?id=31123 Vladimir Mezentsev changed: What|Removed |Added Status|NEW |ASSIGNED -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/31123] improvements to hardware event implementation
https://sourceware.org/bugzilla/show_bug.cgi?id=31123 --- Comment #1 from Sourceware Commits --- The master branch has been updated by Vladimir Mezentsev : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8fe04eeb2cbb8c4cf7b6e8d9183fe09a8b2e8d51 commit 8fe04eeb2cbb8c4cf7b6e8d9183fe09a8b2e8d51 Author: Vladimir Mezentsev Date: Mon Jan 8 22:00:24 2024 -0800 gprofng: 31123 improvements to hardware event implementation Our hardware counter profiling is based on perf_event_open(). Our HWC tables are absent for new machines. I have added HWC tables for the following events: PERF_TYPE_HARDWARE, PERF_TYPE_SOFTWARE, PERF_TYPE_HW_CACHE. Other events require additional fixes. Did a little cleaning: marked the symbols as static, used Stringbuilder, created a function to read /proc/cpuinfo. gprofng/ChangeLog 2024-01-08 Vladimir Mezentsev PR gprofng/31123 * common/core_pcbe.c: Mark the symbols as static. Add events_generic[]. * common/hwc_cpus.h: Declare a new function read_cpuinfo. * common/hwcdrv.c: Add a new parameter in init_perf_event(). * common/hwcentry.h: Add use_perf_event_type in Hwcentry. * common/hwcfuncs.c (process_data_descriptor): Read use_perf_event_type, type, config. * common/hwctable.c: Add a new HWC table generic_list[]. * common/opteron_pcbe.c (opt_pcbe_init): Accept AMD machines. * src/collctrl.cc: Use StringBuilder in Coll_Ctrl::build_data_desc(). Add a new function read_cpuinfo. -- You are receiving this mail because: You are on the CC list for the bug.