Starting to work on this SRU I figures out that this kernel config option is 
already enabled.
I checked the config file that is created at kernel build time as well as the 
master-next trees of focal and groovy - and CONFIG_FUNCTION_PROFILER is enabled 
for all architectures, incl. ppc64el:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal
$ uname -r
5.4.0-44-generic
$ grep CONFIG_FUNCTION_PROFILER /boot/config-$(uname -r)
CONFIG_FUNCTION_PROFILER=y

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu Groovy Gorilla (development branch)
Release:        20.10
Codename:       groovy
$ uname -r
5.4.0-42-generic
$ grep CONFIG_FUNCTION_PROFILER /boot/config-$(uname -r)
CONFIG_FUNCTION_PROFILER=y

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu Groovy Gorilla (development branch)
Release:        20.10
Codename:       groovy
$ uname -r
5.8.0-16-generic
<proposed kernel>
$ grep CONFIG_FUNCTION_PROFILER /boot/config-$(uname -r)
CONFIG_FUNCTION_PROFILER=y

user@box:~/ubuntu-focal-master-next/debian.master/config$ grep -R 
CONFIG_FUNCTION_PROFILER *
annotations:CONFIG_FUNCTION_PROFILER                        policy<{'amd64': 
'y', 'arm64': 'y', 'armhf': 'y', 'i386': 'y', 'ppc64el': 'y', 's390x': 'y'}>
config.common.ubuntu:CONFIG_FUNCTION_PROFILER=y

user@box:~/ubuntu-groovy-master-next/debian.master/config$ grep -R 
CONFIG_FUNCTION_PROFILER *
annotations:CONFIG_FUNCTION_PROFILER                        policy<{'amd64': 
'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}>
config.common.ubuntu:CONFIG_FUNCTION_PROFILER=y

Is CONFIG_FUNCTION_PROFILER the only option you were looking for, or is/are 
there other options needed or is it not working for you (even if set)?
Otherwise I would say there is nothing to do, since it's already configured 
like requested.

** Changed in: ubuntu-power-systems
       Status: New => Incomplete

** Changed in: linux (Ubuntu Focal)
       Status: New => Incomplete

** Changed in: linux (Ubuntu Groovy)
       Status: New => Incomplete

-- 
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/1887986

Title:
  Enable FUNCTION_PROFILER kernel config option for ppc64le

Status in The Ubuntu-power-systems project:
  Incomplete
Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

Bug description:
  Please enable CONFIG_FUNCTION_PROFILER config option for ppc64le
  kernel.  This option enables the ftrace function profiling in the
  kernel, it helps in getting the function profiling information such as
  hit count, time spend and other profiling details.

  Enabling this kernel config option should not have any performance
  impact unless the function profiling is enabled.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1887986/+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