diff options
author | Beau Belgrave <beaub@linux.microsoft.com> | 2022-07-29 02:33:08 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-09-29 17:17:37 +0300 |
commit | 39d6d08b2edf99c4b39a689a70bf0adee065b357 (patch) | |
tree | 2dfb47d9ea7e51415af2cd79815f2c9597786655 /Documentation/trace/user_events.rst | |
parent | d401b72458562c2f2a81dad162de5c1b8e191e17 (diff) | |
download | linux-39d6d08b2edf99c4b39a689a70bf0adee065b357.tar.xz |
tracing/user_events: Use bits vs bytes for enabled status page data
User processes may require many events and when they do the cache
performance of a byte index status check is less ideal than a bit index.
The previous event limit per-page was 4096, the new limit is 32,768.
This change adds a bitwise index to the user_reg struct. Programs check
that the bit at status_bit has a bit set within the status page(s).
Link: https://lkml.kernel.org/r/20220728233309.1896-6-beaub@linux.microsoft.com
Link: https://lore.kernel.org/all/2059213643.196683.1648499088753.JavaMail.zimbra@efficios.com/
Suggested-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/trace/user_events.rst')
0 files changed, 0 insertions, 0 deletions