commit | 39d6d08b2edf99c4b39a689a70bf0adee065b357 | [log] [tgz] |
---|---|---|
author | Beau Belgrave <beaub@linux.microsoft.com> | Thu Jul 28 16:33:08 2022 -0700 |
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | Thu Sep 29 10:17:37 2022 -0400 |
tree | 2dfb47d9ea7e51415af2cd79815f2c9597786655 | |
parent | d401b72458562c2f2a81dad162de5c1b8e191e17 [diff] |
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>