summaryrefslogtreecommitdiffstats
path: root/runtime/lket/b2a/lket_b2a.h
diff options
context:
space:
mode:
authorguanglei <guanglei>2006-08-29 04:57:10 +0000
committerguanglei <guanglei>2006-08-29 04:57:10 +0000
commit9e4d76d8408ebd39704c96e11ae8b64de754d98d (patch)
tree064624b0edd2e73450bac1b2af6337c03d5ae959 /runtime/lket/b2a/lket_b2a.h
parentdc38c0ae43f0c98b203866eeeb88070d32db2c8d (diff)
downloadsystemtap-steved-9e4d76d8408ebd39704c96e11ae8b64de754d98d.tar.gz
systemtap-steved-9e4d76d8408ebd39704c96e11ae8b64de754d98d.tar.xz
systemtap-steved-9e4d76d8408ebd39704c96e11ae8b64de754d98d.zip
add another two kinds of timing mechanisms for LKET, i.e. get_cycles() and
sched_clock()
Diffstat (limited to 'runtime/lket/b2a/lket_b2a.h')
-rw-r--r--runtime/lket/b2a/lket_b2a.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/lket/b2a/lket_b2a.h b/runtime/lket/b2a/lket_b2a.h
index d9cd4a26..10d26dff 100644
--- a/runtime/lket/b2a/lket_b2a.h
+++ b/runtime/lket/b2a/lket_b2a.h
@@ -31,6 +31,7 @@ int _GROUP_PAGEFAULT = 7;
int _GROUP_NETDEV = 8;
int _GROUP_IOSYSCALL = 9;
int _GROUP_AIO = 10;
+int _GROUP_CPUFREQ = 15;
/* hookIDs defined inside each group */
int _HOOKID_REGSYSEVT = 1;
@@ -121,6 +122,9 @@ int _HOOKID_AIO_IO_DESTROY_RETURN = 10;
int _HOOKID_AIO_IO_CANCEL_ENTRY = 11;
int _HOOKID_AIO_IO_CANCEL_RETURN = 12;
+int _HOOKID_INIT_CPUFREQ = 1;
+int _HOOKID_SWITCH_CPUFREQ = 2;
+
typedef struct _lket_pkt_header {
int16_t total_size;
int16_t sys_size;