This simple patch adds the perfmon subdirectory to the top-level Makefile. It also adds the perfmon2 context pointer to the task struct. The field points to the perfmon context structure only when a thread is monitored. Signed-off-by: Stephane Eranian <eranian@gmail.com> -- Index: o/Makefile =================================================================== --- o.orig/Makefile 2008-06-05 11:00:37.000000000 +0200 +++ o/Makefile 2008-06-05 11:00:43.000000000 +0200 @@ -607,7 +607,7 @@ ifeq ($(KBUILD_EXTMOD),) -core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ +core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ perfmon/ vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ $(core-y) $(core-m) $(drivers-y) $(drivers-m) \ Index: o/include/linux/sched.h =================================================================== --- o.orig/include/linux/sched.h 2008-06-05 11:00:37.000000000 +0200 +++ o/include/linux/sched.h 2008-06-05 11:00:43.000000000 +0200 @@ -95,6 +95,7 @@ struct futex_pi_state; struct robust_list_head; struct bio; +struct pfm_context; /* * List of flags we want to share for kernel threads, @@ -1303,6 +1304,9 @@ int latency_record_count; struct latency_record latency_record[LT_SAVECOUNT]; #endif +#ifdef CONFIG_PERFMON + struct pfm_context *pfm_context; +#endif }; /* -- --
| Jeff Garzik | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Christoph Hellwig | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Heiko Carstens | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Arjan van de Ven | Re: [GIT]: Networking |
| Jens Axboe | Re: [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Emmanuel Dreyfus | fixing send(2) semantics (kern/29750) |
| Christos Zoulas | Re: Melting down your network [Subject changed] |
| Juan RP | Changing the I/O scheduler on-the-fly |
| Emmanuel Dreyfus | Re: fixing send(2) semantics (kern/29750) |
