diff options
author | Ben Gainey <ben.gainey@arm.com> | 2024-07-30 09:44:14 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2024-08-02 11:30:29 +0200 |
commit | 79bd233010859463e46a0a4b3926eaaba25a6110 (patch) | |
tree | 111e7bea5d07d174ae48e4049fd8405623bf7252 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 52c3fb1a0f822fd64529ca64f3792095524de450 (diff) |
perf: Rename perf_event_context.nr_pending to nr_no_switch_fast.
nr_pending counts the number of events in the context that
either pending_sigtrap or pending_work, but it is used
to prevent taking the fast path in perf_event_context_sched_out.
Renamed to reflect what it is used for, rather than what it
counts. This change allows using the field to track other
event properties that also require skipping the fast path
without possible confusion over the name.
Signed-off-by: Ben Gainey <ben.gainey@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20240730084417.7693-2-ben.gainey@arm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions