diff options
author | Remy Noel <mocramis@gmail.com> | 2018-01-14 18:29:57 +0100 |
---|---|---|
committer | Remy Noel <mocramis@gmail.com> | 2018-01-14 18:29:57 +0100 |
commit | e363294da50ad602791ceccae7182a7d799bf032 (patch) | |
tree | f54bccb2cc83086c24b5d6dc7efb670d58245ed5 /kern/perfmon.h | |
parent | e0589696a0f392c2e18849b1fd8cb6070a601383 (diff) |
kern/perfmon: Remove tsd dependency.
Necessary as TSD is planned for removal.
Diffstat (limited to 'kern/perfmon.h')
-rw-r--r-- | kern/perfmon.h | 5 |
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. |