Remove kprof's timer (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Jun 2016 17:32:40 +0000 (13:32 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jun 2016 16:17:55 +0000 (12:17 -0400)
commita480df78bcad87c897e408eca4315bede7041e83
tree81103eb4f51af16bb9dd7a5c24877719c6c99cdf
parentff26c20e4af46763eed2205df31497b324c92ad1
Remove kprof's timer (XCC)

The timer functionality doesn't work with the new perf, and it actually
hasn't worked since the removal of kprof2perf back in commit 8c9e8985be92
("Move Linux perf format conversion into perf tool, drop kprof2perf").

If we ever need this functionality back, we can add it in and make it part
of perf properly.  The timer can be a sort of OS event (software vs
hardware), which the kernel can count and generate samples.

We don't need the PROF_ stuff either.  When the kernel generates the event,
it'll pass back a u64 (e.g. user_data in the existing PMU code) that the
user can tie to a specific perf_event.

Reinstall your kernel headers.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/kprof.c
kern/include/ros/profiler_records.h