^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/kernel/profiling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: September 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Contact: Dave Hansen <dave@linux.vnet.ibm.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) /sys/kernel/profiling is the runtime equivalent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) of the boot-time profile= option.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) You can get the same effect running::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) echo 2 > /sys/kernel/profiling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) as you would by issuing profile=2 on the boot
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) command line.