|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Add Xenoprof passive domain support (miss
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID a67c1bcb5522de11bb367b5d694e66a3bea672e3
# Parent 40e1a774920848036fc1994a752b2501bc8ee276
Add Xenoprof passive domain support (missing file).
Signed-off-by: Yang Xiaowei <xiaowei.yang@xxxxxxxxx>
Signed-off-by: Jose Renato Santos <jsantos@xxxxxxxxxx>
---
patches/linux-2.6.16.13/xenoprof-generic.patch | 9 +++++++++
1 files changed, 9 insertions(+)
diff -r 40e1a7749208 -r a67c1bcb5522
patches/linux-2.6.16.13/xenoprof-generic.patch
--- a/patches/linux-2.6.16.13/xenoprof-generic.patch Thu Jun 29 14:25:35
2006 +0100
+++ b/patches/linux-2.6.16.13/xenoprof-generic.patch Thu Jun 29 14:30:41
2006 +0100
@@ -123,6 +123,21 @@ diff -pru ../pristine-linux-2.6.16.13/dr
}
}
}
+diff -pru ../pristine-linux-2.6.16.13/drivers/oprofile/buffer_sync.h
./drivers/oprofile/buffer_sync.h
+--- ../pristine-linux-2.6.16.13/drivers/oprofile/buffer_sync.h 2006-05-03
05:38:44.000000000 +0800
++++ ./drivers/oprofile/buffer_sync.h 2006-06-27 12:12:09.000000000 +0800
+@@ -9,6 +9,11 @@
+
+ #ifndef OPROFILE_BUFFER_SYNC_H
+ #define OPROFILE_BUFFER_SYNC_H
++
++#define NO_DOMAIN_SWITCH -1
++#define DOMAIN_SWITCH_START_EVENT1 0
++#define DOMAIN_SWITCH_START_EVENT2 1
++#define DOMAIN_SWITCH_STOP_EVENT1 2
+
+ /* add the necessary profiling hooks */
+ int sync_start(void);
diff -pru ../pristine-linux-2.6.16.13/drivers/oprofile/cpu_buffer.c
./drivers/oprofile/cpu_buffer.c
--- ../pristine-linux-2.6.16.13/drivers/oprofile/cpu_buffer.c 2006-05-03
05:38:44.000000000 +0800
+++ ./drivers/oprofile/cpu_buffer.c 2006-06-19 22:43:53.000000000 +0800
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Add Xenoprof passive domain support (missing file).,
Xen patchbot-unstable <=
|
|
|
|
|