summaryrefslogtreecommitdiff
path: root/kern/perfmon.h
diff options
context:
space:
mode:
authorRemy Noel <mocramis@gmail.com>2018-01-14 18:29:57 +0100
committerRemy Noel <mocramis@gmail.com>2018-01-14 18:29:57 +0100
commite363294da50ad602791ceccae7182a7d799bf032 (patch)
treef54bccb2cc83086c24b5d6dc7efb670d58245ed5 /kern/perfmon.h
parente0589696a0f392c2e18849b1fd8cb6070a601383 (diff)
kern/perfmon: Remove tsd dependency.
Necessary as TSD is planned for removal.
Diffstat (limited to 'kern/perfmon.h')
-rw-r--r--kern/perfmon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kern/perfmon.h b/kern/perfmon.h
index 3313a4a..89fdd3d 100644
--- a/kern/perfmon.h
+++ b/kern/perfmon.h
@@ -175,6 +175,11 @@ int perfmon_group_stop(struct perfmon_group *group);
int perfmon_thread_init(struct thread *thread);
/*
+ * Destroy perfmon thread-specific data for the given thread.
+ */
+void perfmon_thread_destroy(struct thread *thread);
+
+/*
* Load/unload the events associated to a thread on the current processor.
*
* These functions should only be used by the scheduler during context switch.