Commit 321133e converted most of the architectures to use the internal
perflib_event_attr_info_t type. However, the s390 was missed in that
previous commit. This patch corrects the issue so libpfm compiles on
s390.
---
lib/pfmlib_s390x_cpumf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pfmlib_s390x_cpumf.c b/lib/pfmlib_s390x_cpumf.c
index db2a215..b5444ef 100644
--- a/lib/pfmlib_s390x_cpumf.c
+++ b/lib/pfmlib_s390x_cpumf.c
@@ -254,7 +254,7 @@ static int pfm_cpumf_get_event_info(void *this, int idx,
}
static int pfm_cpumf_get_event_attr_info(void *this, int idx, int umask_idx,
- pfm_event_attr_info_t *info)
+ pfmlib_event_attr_info_t *info)
{
/* Attributes are not supported */
return PFM_ERR_ATTR;
--
2.9.3
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel