Adding filter for total and debug code

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>