aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2020-07-03 05:49:24 -0700
committerPeter Zijlstra <peterz@infradead.org>2020-07-08 11:38:55 +0200
commit5a09928d339f3cf0973991ddc3a2798825c84c99 (patch)
treefbbd258f30da8487ac700e41be693bfd5f451bd8 /include
parentperf/x86/intel/lbr: Create kmem_cache for the LBR context data (diff)
downloadlinux-dev-5a09928d339f3cf0973991ddc3a2798825c84c99.tar.xz
linux-dev-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')
-rw-r--r--include/linux/perf_event.h4
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