commit | 74e9e58c350a24139e268dd6857bbaa55c5aafcf | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Thu Jan 27 22:49:48 2011 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Mon Feb 07 20:56:18 2011 -0500 |
tree | 26f4769080314a042d67a73975656331add7648d | |
parent | 0fc3ca9a10a61a77f18710fb708b41fd99c79a56 [diff] |
tracing/filter: Allocate the preds in an array Currently we allocate an array of pointers to filter_preds, and then allocate a separate filter_pred for each item in the array. This adds slight overhead in the filters as it needs to derefernce twice to get to the op condition. Allocating the preds themselves in a single array removes a dereference as well as helps on the cache footprint. Cc: Tom Zanussi <tzanussi@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>