Пример #1
0
    def __init__(self):
        Ftrace.__init__(self)
        self.function_available_file = self.tracing_dir + "available_filter_functions"
        self.function_filter_file = self.tracing_dir + "set_ftrace_filter"
        self.tracer_name = "function"

        self.CONFIG_DYNAMIC_FTRACE = "CONFIG_DYNAMIC_FTRACE"
Пример #2
0
    def __init__(self, kprobe_filter=None):
        Ftrace.__init__(self)
        self.events_dir = self.tracing_dir + "/events/kprobes/"
        self.events_file = self.tracing_dir + "/kprobe_events"
        self.trace_enable_file = self.events_dir + "/enable"
        self.kprobe_filter = kprobe_filter

        self.required_config_options = ["CONFIG_KPROBE_EVENTS"]
        self.pre_flight_checks()
Пример #3
0
 def __init__(self):
     Ftrace.__init__(self)
     self.events_dir = self.tracing_dir + "/events/block"
     self.filter_file = self.tracing_dir + "/events/block/filter"
     self.trace_enable_file = self.events_dir + "/enable"