diff options
author | Alex Shi <alex.shi@linux.alibaba.com> | 2020-01-02 13:07:52 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-01-17 12:19:21 +0300 |
commit | 9dec1b6949ae9509cdc3edb2d75fda39c9db9fa2 (patch) | |
tree | 6e2aa144c5ce405310f67011d43c82ac6f7ce56c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 35f4cd96f5551dc1b2641159e7bb7bf91de6600f (diff) | |
download | linux-9dec1b6949ae9509cdc3edb2d75fda39c9db9fa2.tar.xz |
sched/cputime: move rq parameter in irqtime_account_process_tick
Every time we call irqtime_account_process_tick() is in a interrupt,
Every caller will get and assign a parameter rq = this_rq(), This is
unnecessary and increase the code size a little bit. Move the rq getting
action to irqtime_account_process_tick internally is better.
base with this patch
cputime.o 578792 bytes 577888 bytes
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/1577959674-255537-1-git-send-email-alex.shi@linux.alibaba.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions