diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2020-07-03 05:49:24 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-07-08 11:38:55 +0200 |
commit | 5a09928d339f3cf0973991ddc3a2798825c84c99 (patch) | |
tree | fbbd258f30da8487ac700e41be693bfd5f451bd8 /include/linux/perf_event.h | |
parent | 33cad284497cf40f55ad6029c06011de3538ebed (diff) | |
download | lwn-5a09928d339f3cf0973991ddc3a2798825c84c99.tar.gz lwn-5a09928d339f3cf0973991ddc3a2798825c84c99.zip |
perf/x86: Remove task_ctx_size
A new kmem_cache method has replaced the kzalloc() to allocate the PMU
specific data. The task_ctx_size is not required anymore.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/1593780569-62993-19-git-send-email-kan.liang@linux.intel.com
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r-- | include/linux/perf_event.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 09915ae06d28..3b22db08b6fb 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -419,10 +419,6 @@ struct pmu { */ void (*sched_task) (struct perf_event_context *ctx, bool sched_in); - /* - * PMU specific data size - */ - size_t task_ctx_size; /* * Kmem cache of PMU specific data |