|
|
NAMELogFile::Filter - Perl module for filtering out certain time stamps from a set of profiling data.
SYNOPSISuse LogFile::Parser; use LogFile::Filter; LogFile::Filter::process_comand_line ();
my $profiling_data = LogFile::Parser::parse ("profiling_data_1234.log");
$profiling_data = LogFile::Filter::apply_filter ($profiling_data);
Sets up the inclusion and exclusion filters from the command line, filters the profiling data set, and returns a new, filtered list.
DESCRIPTIONThe LogFileFilter holds an inclusion and an exclusion filter which allow to derive a sub-set of interesting time stamps from a given set of profiling data. Both filters are specified through a file of regular expressions used for matching function/scope names and messages each. The inclusion filter is used for keeping only those time stamps in the data set that match a regular expression. An empty inclusion filter does not change the data set. The exclusion filter is used to remove all time stamps that match a regular expression. If both filters are given then a time stamp remains in the data set if it matches a regular expression of the inclusion filter but none of the exclusion filter. Keep the following things in mind:
|


