diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2016-04-13 16:27:49 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-04-19 10:28:27 -0400 |
commit | f4d34a87e9c10f0ffd03d3548db6bfb200d06cdf (patch) | |
tree | 289801d97f290c330f83fb977ae7169eab0f04a7 /Documentation | |
parent | 9ebc57cfaad21aacbc363eecead579269a46b493 (diff) |
tracing: Use pid bitmap instead of a pid array for set_event_pid
In order to add the ability to let tasks that are filtered by the events
have their children also be traced on fork (and then not traced on exit),
convert the array into a pid bitmask. Most of the time the number of pids is
only 32768 pids or a 4k bitmask, which is the same size as the default list
currently is, and that list could grow if more pids are listed.
This also greatly simplifies the code.
Suggested-by: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions