summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2022-01-08 03:38:17 +0300
committerTejun Heo <tj@kernel.org>2022-01-12 22:55:12 +0300
commit95b99f353cf3d9d753796975f2093b13f75e0fbd (patch)
tree3f5b848da92f3f36a349d07041a77d415f17c783 /tools/perf/scripts/python
parent4148be7de0a3316edd1af45609d354cac0e6a021 (diff)
downloadlinux-95b99f353cf3d9d753796975f2093b13f75e0fbd.tar.xz
cgroup: rstat: retrieve current bstat to delta directly
Instead of retrieve current bstat to cur and copy it to delta, let's use delta directly. This saves one copy operation and has the same code convention as propagating delta to parent. Signed-off-by: Wei Yang <richard.weiyang@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions