Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111636199
D33805.id102803.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D33805.id102803.diff
View Options
diff --git a/lib/libpmc/libpmc.c b/lib/libpmc/libpmc.c
--- a/lib/libpmc/libpmc.c
+++ b/lib/libpmc/libpmc.c
@@ -143,29 +143,39 @@
#undef __PMC_EV_ALIAS
#define __PMC_EV_ALIAS(N,CODE) { N, PMC_EV_##CODE },
+/*
+ * TODO: Factor out the __PMC_EV_ARMV7/8 list into a single separate table
+ * rather than duplicating for each core.
+ */
+
static const struct pmc_event_descr cortex_a8_event_table[] =
{
__PMC_EV_ALIAS_ARMV7_CORTEX_A8()
+ __PMC_EV_ARMV7()
};
static const struct pmc_event_descr cortex_a9_event_table[] =
{
__PMC_EV_ALIAS_ARMV7_CORTEX_A9()
+ __PMC_EV_ARMV7()
};
static const struct pmc_event_descr cortex_a53_event_table[] =
{
__PMC_EV_ALIAS_ARMV8_CORTEX_A53()
+ __PMC_EV_ARMV8()
};
static const struct pmc_event_descr cortex_a57_event_table[] =
{
__PMC_EV_ALIAS_ARMV8_CORTEX_A57()
+ __PMC_EV_ARMV8()
};
static const struct pmc_event_descr cortex_a76_event_table[] =
{
__PMC_EV_ALIAS_ARMV8_CORTEX_A76()
+ __PMC_EV_ARMV8()
};
static const struct pmc_event_descr tsc_event_table[] =
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 7, 8:16 AM (19 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17023859
Default Alt Text
D33805.id102803.diff (1 KB)
Attached To
Mode
D33805: libpmc: Allow specifying explicit EVENT_xxH events on armv7 and arm64
Attached
Detach File
Event Timeline
Log In to Comment