aboutsummaryrefslogtreecommitdiff
path: root/gprofng/src/hwc_amd_zen3.h
diff options
context:
space:
mode:
Diffstat (limited to 'gprofng/src/hwc_amd_zen3.h')
-rw-r--r--gprofng/src/hwc_amd_zen3.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gprofng/src/hwc_amd_zen3.h b/gprofng/src/hwc_amd_zen3.h
index a6400f5..6a2ee02 100644
--- a/gprofng/src/hwc_amd_zen3.h
+++ b/gprofng/src/hwc_amd_zen3.h
@@ -18,6 +18,9 @@
Foundation, 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
+#ifndef _HWC_AMD_ZEN3_H
+#define _HWC_AMD_ZEN3_H
+
#define I(nm, event, umask, mtr) INIT_HWC(nm, mtr, (event) | ((umask) << 8), PERF_TYPE_RAW)
static Hwcentry amd_zen3_list[] = {
@@ -629,4 +632,4 @@ static Hwcentry amd_zen3_list[] = {
};
#undef I
-
+#endif