aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2019-11-21 03:44:26 +0100
committerIngo Molnar <[email protected]>2019-11-21 07:33:24 +0100
commit74722bb223d0f236303b60c9509ff924a9713780 (patch)
tree8e29d87890a00e4377b0296f712c1e52ab1f0d7d /tools/perf/scripts/python/export-to-postgresql.py
parent5a1c95580f1d89c8a736bb02ecd82a8858388b8a (diff)
sched/vtime: Bring up complete kcpustat accessor
Many callsites want to fetch the values of system, user, user_nice, guest or guest_nice kcpustat fields altogether or at least a pair of these. In that case calling kcpustat_field() for each requested field brings unecessary overhead when we could fetch all of them in a row. So provide kcpustat_cpu_fetch() that fetches the whole kcpustat array in a vtime safe way under the same RCU and seqcount block. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Wanpeng Li <[email protected]> Cc: Yauheni Kaliuta <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions