trace preprocessor