diff options
author | Valentin Schneider <[email protected]> | 2023-07-07 18:21:51 +0100 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-08-22 05:13:28 -0400 |
commit | fe4fa4ec9b464f5a93b2010247822fdd3a2a2115 (patch) | |
tree | 7e161ead05604c19a91c9a51807222f03e26c72c /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 347d24fc8286e766696cfed112d6a353cb62cb68 (diff) |
tracing/filters: Optimise cpumask vs cpumask filtering when user mask is a single CPU
Steven noted that when the user-provided cpumask contains a single CPU,
then the filtering function can use a scalar as input instead of a
full-fledged cpumask.
Reuse do_filter_scalar_cpumask() when the input mask has a weight of one.
Link: https://lkml.kernel.org/r/[email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Daniel Bristot de Oliveira <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Leonardo Bras <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Suggested-by: Steven Rostedt <[email protected]>
Signed-off-by: Valentin Schneider <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions