• Steven Rostedt's avatar
    tracing/filter: Allocate the preds in an array · 74e9e58c
    Steven Rostedt authored
    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: default avatarSteven Rostedt <rostedt@goodmis.org>
    74e9e58c
trace.h 21.2 KB