diff options
author | Frederic Weisbecker <[email protected]> | 2015-03-04 18:06:33 +0100 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2015-03-09 16:42:50 +0200 |
commit | c467ea763fd5d8795b7d1b5a78eb94b6ad8f66ad (patch) | |
tree | 581f519cb6c9b442f26ee3b57c9f681419d918f5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c5ae732a443e2600823b930457eaab6e25f69b32 (diff) |
context_tracking: Rename context symbols to prepare for transition state
Current context tracking symbols are designed to express living state.
As such they are prefixed with "IN_": IN_USER, IN_KERNEL.
Now we are going to use these symbols to also express state transitions
such as context_tracking_enter(IN_USER) or context_tracking_exit(IN_USER).
But while the "IN_" prefix works well to express entering a context, it's
confusing to depict a context exit: context_tracking_exit(IN_USER)
could mean two things:
1) We are exiting the current context to enter user context.
2) We are exiting the user context
We want 2) but the reviewer may be confused and understand 1)
So lets disambiguate these symbols and rename them to CONTEXT_USER and
CONTEXT_KERNEL.
Acked-by: Rik van Riel <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Will deacon <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Luiz Capitulino <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions