* [PATCH 5/8 ] ltt for 2.6.10 : ipc/ events
@ 2005-01-14 6:11 Karim Yaghmour
0 siblings, 0 replies; only message in thread
From: Karim Yaghmour @ 2005-01-14 6:11 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, LTT-Dev
signed-off-by: Karim Yaghmour (karim@opersys.com)
--- linux-2.6.10-relayfs/ipc/msg.c 2004-12-24 16:33:48.000000000 -0500
+++ linux-2.6.10-relayfs-ltt/ipc/msg.c 2005-01-13 22:21:51.000000000 -0500
@@ -25,6 +25,7 @@
#include <linux/security.h>
#include <linux/sched.h>
#include <linux/syscalls.h>
+#include <linux/ltt-events.h>
#include <asm/current.h>
#include <asm/uaccess.h>
#include "util.h"
@@ -229,6 +230,7 @@ asmlinkage long sys_msgget (key_t key, i
msg_unlock(msq);
}
up(&msg_ids.sem);
+ ltt_ev_ipc(LTT_EV_IPC_MSG_CREATE, ret, msgflg);
return ret;
}
--- linux-2.6.10-relayfs/ipc/sem.c 2004-12-24 16:34:31.000000000 -0500
+++ linux-2.6.10-relayfs-ltt/ipc/sem.c 2005-01-13 22:21:51.000000000 -0500
@@ -72,6 +72,7 @@
#include <linux/smp_lock.h>
#include <linux/security.h>
#include <linux/syscalls.h>
+#include <linux/ltt-events.h>
#include <asm/uaccess.h>
#include "util.h"
@@ -239,6 +240,7 @@ asmlinkage long sys_semget (key_t key, i
}
up(&sem_ids.sem);
+ ltt_ev_ipc(LTT_EV_IPC_SEM_CREATE, err, semflg);
return err;
}
--- linux-2.6.10-relayfs/ipc/shm.c 2004-12-24 16:34:45.000000000 -0500
+++ linux-2.6.10-relayfs-ltt/ipc/shm.c 2005-01-13 22:21:51.000000000 -0500
@@ -27,6 +27,7 @@
#include <linux/shmem_fs.h>
#include <linux/security.h>
#include <linux/syscalls.h>
+#include <linux/ltt-events.h>
#include <asm/uaccess.h>
#include "util.h"
@@ -277,7 +278,7 @@ asmlinkage long sys_shmget (key_t key, s
shm_unlock(shp);
}
up(&shm_ids.sem);
-
+ ltt_ev_ipc(LTT_EV_IPC_SHM_CREATE, err, shmflg);
return err;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-14 6:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-14 6:11 [PATCH 5/8 ] ltt for 2.6.10 : ipc/ events Karim Yaghmour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox