From: Justin Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1167#note_5967804...
I prefer cutting this down to be arm-specific and "trade the spec file
complexity", since I see no reason for x86 (and other arch) customers (which I believe is a majority) to install completely useless packages.
This is valid. I wasn't thinking about the dep on install, only the build side. As I didn't make the original change in Fedora, I was just verifying that we had this functionality and saw how it was put in.
A better question is, whether linking opencsd would allow the x86 users to
e.g. analyse the coresight trace from perf.data obtained on aarch64. In such case, it would make sense.
I would have to look at the code to see, or Fedora has been built this way for about a year, so any existing Fedora perf package should be a valid way to test.