summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linux.alibaba.com>2020-01-02 18:07:52 +0800
committerPeter Zijlstra <peterz@infradead.org>2020-01-17 10:19:21 +0100
commit9dec1b6949ae9509cdc3edb2d75fda39c9db9fa2 (patch)
tree6e2aa144c5ce405310f67011d43c82ac6f7ce56c /scripts/gdb/linux/modules.py
parent35f4cd96f5551dc1b2641159e7bb7bf91de6600f (diff)
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions