diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2022-01-08 00:38:17 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2022-01-12 09:55:12 -1000 |
commit | 95b99f353cf3d9d753796975f2093b13f75e0fbd (patch) | |
tree | 3f5b848da92f3f36a349d07041a77d415f17c783 /scripts/gdb/linux/utils.py | |
parent | 4148be7de0a3316edd1af45609d354cac0e6a021 (diff) | |
download | linux-95b99f353cf3d9d753796975f2093b13f75e0fbd.tar.gz linux-95b99f353cf3d9d753796975f2093b13f75e0fbd.tar.bz2 linux-95b99f353cf3d9d753796975f2093b13f75e0fbd.zip |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions