diff options
| author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-06-09 18:04:59 -0400 |
|---|---|---|
| committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-06-10 13:42:03 -0400 |
| commit | 8f0901cda14d3be38cd2196d8cf61cdf3b368e34 (patch) | |
| tree | 5666b6b230778f9c51cb461b860c14d75c9b5dec /tools/perf/scripts/python | |
| parent | tracing: Simplify the max length test when using the filtering temp buffer (diff) | |
| download | linux-8f0901cda14d3be38cd2196d8cf61cdf3b368e34.tar.gz linux-8f0901cda14d3be38cd2196d8cf61cdf3b368e34.zip | |
tracing: Add better comments for the filtering temp buffer use case
When filtering is enabled, the event is copied into a temp buffer instead
of being written into the ring buffer directly, because the discarding of
events from the ring buffer is very expensive, and doing the extra copy is
much faster than having to discard most of the time.
As that logic is subtle, add comments to explain in more detail to what is
going on and how it works.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
