On 2018-04-23 19:26, Stephane Eranian via perfmon2-devel wrote: > I will make a new release of libpfm4 this week given the amount of changes > since January. > If you have more updates that you would like to submit, now is the time. > Thanks.
Besides the typo/spacing patch I sent on the weekend, there are three more issues I noticed while packaging libpfm4 for Debian. The first should be trivial, the other two only affect port architectures and are not critical to be fixed. ********** Fix an event a with space in its name in lib/events/mips_74k_events.h: s/OCP_WRITE_CACHEABLE REQUESTS/OCP_WRITE_CACHEABLE_REQUESTS/ ********** On the sparc64 Debian port the build fails the validation test due to duplicate event definitions: ./tests/validate Libpfm structure tests: libpfm ABI version : 0 pfm_pmu_info_t : Passed pfm_event_info_t : Passed pfm_event_attr_info_t : Passed pfm_pmu_encode_arg_t : Passed pfm_perf_encode_arg_t : Passed perf_events specific tests: 3 perf_events generic events: 0 errors Libpfm internal table tests: checking ultra12 (22 events): Passed checking ultra3 (65 events): pmu: ultra3 event12: Dispatch0_2nd_br code: 0x4 is duplicated in event24 : Dispatch0_rs_mispred Failed checking ultra3i (63 events): pmu: ultra3i event12: Dispatch0_2nd_br code: 0x4 is duplicated in event24 : Dispatch0_rs_mispred Failed checking ultra3p (71 events): pmu: ultra3p event12: Dispatch0_2nd_br code: 0x4 is duplicated in event24 : Dispatch0_rs_mispred Failed checking ultra4p (103 events): Passed checking niagara1 (9 events): Passed checking niagara2 (8 events): Passed checking perf (80 events): Passed checking perf_raw (1 events): Passed Architecture specific tests: Total 3 errors Full log: https://buildd.debian.org/status/fetch.php?pkg=libpfm4&arch=sparc64&ver=4.9.0%2Bgit21-gc4de2ea-1&stamp=1524399924&raw=0 I do not have access to any sparc hardware to test something. ********** On the x32 Debian port the build fails the checking ix86arch (0 events): pmu: ix86arch :: no events Failed This had worked in the past, so it may also depend on the hardware used for the buildd. Full log: https://buildd.debian.org/status/fetch.php?pkg=libpfm4&arch=x32&ver=4.9.0%2Bgit21-gc4de2ea-1&stamp=1524396852&raw=0 Old logs: https://buildd.debian.org/status/logs.php?pkg=libpfm4&arch=x32 I could probably try debugging this in a chroot, but don't expect to have the time to do this. ********** Andreas ------------------------------------------------------------------------------ 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 perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel