diff options
author | Kan Liang <[email protected]> | 2020-07-03 05:49:21 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-07-08 11:38:54 +0200 |
commit | ff9ff926889dd8026b4ba55266a010c27f68604f (patch) | |
tree | 1b1c03a21b7aad24a5476430273ba413feb495dd /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 47125db27e47e9d44c878bf8925aa057824bb0d5 (diff) |
perf/core: Factor out functions to allocate/free the task_ctx_data
The method to allocate/free the task_ctx_data is going to be changed in
the following patch. Currently, the task_ctx_data is allocated/freed in
several different places. To avoid repeatedly modifying the same codes
in several different places, alloc_task_ctx_data() and
free_task_ctx_data() are factored out to allocate/free the
task_ctx_data. The modification only needs to be applied once.
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions