]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | From: Cliff Wickman <cpw@sgi.com> |
2 | Subject: perfmon2 | |
3 | References: bnc#430298 | |
4 | Patch-mainline: never | |
5 | ||
6 | This is Stephane Eranian's patch | |
7 | from http://perfmon2.sourceforge.net/ | |
8 | but backfitted to the SuSE KOTD for 10/20/2008 | |
9 | ||
10 | [greg's note: I really don't like this, as perfmon2 has been rejected | |
11 | from upstream, and perfmon3 is being worked on. This should be going | |
12 | away for SP1, and no one should count on the userspace interface | |
13 | remaining the same...] | |
14 | ||
15 | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | |
16 | ||
17 | Automatically created from "patches.suse/perfmon2.patch" by xen-port-patches.py | |
18 | ||
19 | --- sle11-2009-03-24.orig/arch/x86/Kconfig 2009-02-05 10:41:12.000000000 +0100 | |
20 | +++ sle11-2009-03-24/arch/x86/Kconfig 2009-02-05 10:41:57.000000000 +0100 | |
21 | @@ -1499,7 +1499,9 @@ config COMPAT_VDSO | |
22 | ||
23 | If unsure, say Y. | |
24 | ||
25 | +if !XEN | |
26 | source "arch/x86/perfmon/Kconfig" | |
27 | +endif | |
28 | ||
29 | endmenu | |
30 | ||
31 | --- sle11-2009-03-24.orig/arch/x86/ia32/ia32entry-xen.S 2009-03-24 10:19:57.000000000 +0100 | |
32 | +++ sle11-2009-03-24/arch/x86/ia32/ia32entry-xen.S 2009-03-24 10:20:46.000000000 +0100 | |
33 | @@ -783,4 +783,16 @@ ia32_sys_call_table: | |
34 | .quad sys_dup3 /* 330 */ | |
35 | .quad sys_pipe2 | |
36 | .quad sys_inotify_init1 | |
37 | + .quad sys_pfm_create_context | |
38 | + .quad sys_pfm_write_pmcs | |
39 | + .quad sys_pfm_write_pmds /* 335 */ | |
40 | + .quad sys_pfm_read_pmds | |
41 | + .quad sys_pfm_load_context | |
42 | + .quad sys_pfm_start | |
43 | + .quad sys_pfm_stop | |
44 | + .quad sys_pfm_restart /* 340 */ | |
45 | + .quad sys_pfm_create_evtsets | |
46 | + .quad sys_pfm_getinfo_evtsets | |
47 | + .quad sys_pfm_delete_evtsets | |
48 | + .quad sys_pfm_unload_context | |
49 | ia32_syscall_end: |