Its not immediately apparent from perf tool output that the "amd-uncore"
module is not loaded when opening "amd_df" or "amd_l3" events fail or
when they do not show up in "perf list" despite using a compatible
kernel. Since the primary motivation of the commit [1] that made it
possible for this to be loaded as a module was to make development
easier, CONFIG_PERF_EVENTS_AMD_UNCORE defaults to 'y' [2].

[1] https://git.kernel.org/torvalds/c/05485745ad482
[2] https://github.com/torvalds/linux/blob/master/arch/x86/events/Kconfig#L40

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2033416

Title:
  change CONFIG_PERF_EVENTS_AMD_UNCORE from m to y

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu currently sets CONFIG_PERF_EVENTS_AMD_UNCORE=m for distro
  kernels.

  However, unlike plug and play devices, there is no way to load uncore module 
when user tries to use uncore event.
  Also, a primary motivation to add module support in uncore driver was to ease 
development (https://git.kernel.org/torvalds/c/05485745ad482).

  So, ask ubuntu to switch to CONFIG_PERF_EVENTS_AMD_UNCORE=y.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2033416/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to