added check to see if ftrace file passed in has trace events, and
properly shut off all the actions calculated from dmesg since they
are duplicates