]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
x86/oprofile: rename kernel parameter for architectural perfmon to arch_perfmon
authorRobert Richter <robert.richter@amd.com>
Tue, 23 Jun 2009 09:48:14 +0000 (11:48 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Jul 2009 03:22:50 +0000 (05:22 +0200)
The short name of the achitecture is 'arch_perfmon'. This patch
changes the kernel parameter to use this name.

Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/kernel-parameters.txt
arch/x86/oprofile/nmi_int.c

index 92e1ab8178a8693856c599dcc80c0e4f77a78390..c59e965a748ddac805ce6394658f3ed2e94d1dc5 100644 (file)
@@ -1728,8 +1728,8 @@ and is between 256 and 4096 characters. It is defined in the file
        oprofile.cpu_type=      Force an oprofile cpu type
                        This might be useful if you have an older oprofile
                        userland or if you want common events.
-                       Format: { archperfmon }
-                       archperfmon: [X86] Force use of architectural
+                       Format: { arch_perfmon }
+                       arch_perfmon: [X86] Force use of architectural
                                perfmon on Intel CPUs instead of the
                                CPU specific event set.
 
index b07dd8d0b321d9e04fd94b307c0f51befdc20933..89b9a5cd63da1d52900a47dd0b269476dd09fb2c 100644 (file)
@@ -390,7 +390,7 @@ static int __init p4_init(char **cpu_type)
 static int force_arch_perfmon;
 static int force_cpu_type(const char *str, struct kernel_param *kp)
 {
-       if (!strcmp(str, "archperfmon")) {
+       if (!strcmp(str, "arch_perfmon")) {
                force_arch_perfmon = 1;
                printk(KERN_INFO "oprofile: forcing architectural perfmon\n");
        }