/external/autotest/client/site_tests/platform_TraceClockMonotonic/src/ |
Makefile | 1 EXEC=ftrace-clock-monotonic 8 $(EXEC): ftrace-clock-monotonic.c
|
/external/linux-kselftest/android/ |
Android.kselftest.mk | 37 # Ftrace test 38 module_prebuilt := ftrace/ftracetest 39 module_src_files := ftrace/ftracetest 42 module_prebuilt := ftrace/test.d/functions 43 module_src_files := ftrace/test.d/functions 46 module_prebuilt := ftrace/test.d/00basic/basic2 47 module_src_files := ftrace/test.d/00basic/basic2.tc 50 module_prebuilt := ftrace/test.d/00basic/basic4 51 module_src_files := ftrace/test.d/00basic/basic4.tc 54 module_prebuilt := ftrace/test.d/00basic/basic [all...] |
/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/ |
kvm-recheck-rcuperf.sh | 36 if kvm-recheck-rcuperf-ftrace.sh $i 38 # ftrace data was successfully analyzed, call it good!
|
/external/lisa/tests/stune/ |
smoke_test_ramp.py | 76 ftrace = trappy.FTrace(run_dir, scope="custom", 86 sbt_dfr = ftrace.sched_boost_task.data_frame 95 analyzer = Analyzer(ftrace, analyzer_const,
|
/external/bart/bart/sched/ |
functions.py | 438 def get_pids_for_process(ftrace, execname, cls=None): 441 :param ftrace: A ftrace object with a sched_switch 443 :type ftrace: :mod:`trappy.ftrace.FTrace` 457 df = ftrace.sched_switch.data_frame 459 raise ValueError("SchedSwitch event not found in ftrace") 462 raise ValueError("SchedSwitch event not found in ftrace") 464 event = getattr(ftrace, cls.name [all...] |
SchedAssert.py | 38 :param ftrace: A single trappy.FTrace object 39 or a path that can be passed to trappy.FTrace 40 :type ftrace: :mod:`trappy.ftrace.FTrace` 68 def __init__(self, ftrace, topology, execname=None, pid=None): 70 ftrace = Utils.init_ftrace(ftrace) 76 self._ftrace = ftrace [all...] |
SchedMultiAssert.py | 30 :param ftrace: A single trappy.FTrace object 31 or a path that can be passed to trappy.FTrace 32 :type ftrace: :mod:`trappy.ftrace.FTrace` 67 SchedMultiAssert(ftrace, topology, execnames="task_") 72 SchedMultiAssert(ftrace, topology, execnames=["task_1", "task_2", "task_3"]) 77 SchedMultiAssert(ftrace, topology, pids=[11, 22, 33]) 86 >>> s = SchedMultiAssert(ftrace, topology, execnames="task_" [all...] |
/external/bart/bart/thermal/ |
ThermalAssert.py | 28 """A class that accepts a TRAPpy FTrace object and 31 :param ftrace: A path to the trace file or a TRAPpy FTrace object 32 :type ftrace: str, :mod:`trappy.ftrace.FTrace` 35 def __init__(self, ftrace, config=None): 37 self._ftrace = Utils.init_ftrace(ftrace)
|
/external/bart/docs/examples/ |
thermal.py | 33 ftrace = trappy.FTrace(trace_file, "test_run") 51 cls.analyzer = Analyzer(ftrace, config)
|
/external/ltp/testcases/kernel/tracing/ftrace_test/ftrace_stress/ |
ftrace_set_event.sh | 25 if [ ! -d $dir -o "$dir" = ftrace ]; then 38 # ftrace event sys is special, skip it 39 if echo "$event" | grep "ftrace:*"; then
|
/external/lisa/libs/wlgen/wlgen/ |
workload.py | 176 ftrace=None, 186 an ftrace object, the method will also collect a trace. 188 :param ftrace: FTrace object to collect a trace. If using 189 :class:`TestEnv`, you can use :attr:`TestEnv.ftrace` for this. 190 :type ftrace: :mod:`devlib.trace.FTraceCollector` 204 ftrace it is up to the caller to stop trace 216 seconds. If ftrace is provided, trace collection 221 seconds. If ftrace is provided, trace collection is 252 # Start FTrace (if required [all...] |
/external/lisa/libs/utils/ |
test.py | 129 self.get_trace(experiment).ftrace, self.te.topology, execname=task) 140 return SchedMultiAssert(self.get_trace(experiment).ftrace, 150 if ('ftrace' not in experiment.conf['flags'] 151 or 'ftrace' not in self.test_conf): 153 'Tracing not enabled. If this test needs a trace, add "ftrace" ' 156 events = self.test_conf['ftrace']['events'] 188 ftrace = self.get_trace(experiment).ftrace 190 sched_assert = SchedAssert(ftrace, self.te.topology, execname=task)
|
trace.py | 65 - FTrace 87 trace_format='FTrace', 96 self.ftrace = None 239 - FTrace 249 elif trace_format.upper() == 'FTRACE': 250 self._log.debug('Parsing FTrace format...') 251 trace_class = trappy.FTrace 252 self.trace_format = 'FTrace' 257 self.ftrace = trace_class(path, scope=scope, events=self.events, 293 duration = min(self.ftrace.get_duration(), self.window[1] [all...] |
env.py | 125 the target. Names, not paths (e.g. ['ftrace']). Default is []. 138 **ftrace** 139 Configuration for ftrace. Dictionary with keys: 155 additional ftrace events to manually enable during systrac'ing 157 Size of ftrace buffer that systrace uses 184 self.ftrace = None 250 # Initialize ftrace events 252 if 'ftrace' in self.test_conf: 253 self.conf['ftrace'] = self.test_conf['ftrace'] [all...] |
executor.py | 86 "ftrace" 87 Enable collecting ftrace during the experiment. 677 # FTRACE: start (if a configuration has been provided) 678 if self.te.ftrace and self._target_conf_flag(tc, 'ftrace'): 679 self._log.warning('FTrace events collection enabled') 680 self.te.ftrace.start() 693 # FTRACE: stop and collect measurements 694 if self.te.ftrace and self._target_conf_flag(tc, 'ftrace') [all...] |
/external/trappy/tests/ |
utils_tests.py | 23 from trappy.ftrace import GenericFTrace
|
/external/trappy/trappy/ |
__init__.py | 20 from trappy.ftrace import FTrace 46 # Load all the modules to make sure all classes are registered with FTrace
|
dynamic.py | 24 from trappy.ftrace import GenericFTrace 70 """Create a Dynamic FTrace parser and register it with any FTrace parsing classes 97 trace = trappy.FTrace("/path/to/trace_file") 99 # New data member created in the ftrace object 124 """Register a new FTrace parser class implementation 144 """Unregister an ftrace parser 146 :param ftrace_parser: An ftrace parser class that was registered
|
compare_runs.py | 17 import trappy.ftrace 78 run_data.append(trappy.FTrace(name=name, path=path, scope="thermal")) 88 raise ValueError("No power allocator traces found. Was IPA active (temp above switch on temperature) and FTrace configured to collect all thermal events?")
|
systrace.py | 16 from trappy.ftrace import GenericFTrace 54 It receives the same parameters as :mod:`trappy.ftrace.FTrace`.
|
/external/devlib/devlib/ |
__init__.py | 21 from devlib.trace.ftrace import FtraceCollector
|
/external/autotest/client/tests/tracing_microbenchmark/ |
tracers.py | 14 class ftrace(base_tracer.Tracer): class in inherits:base_tracer.Tracer
|
/external/lisa/tests/eas/ |
capacity_capping.py | 95 trace = trappy.FTrace(cls.trace_file) 129 cls.env.ftrace.start() 151 cls.env.ftrace.stop() 152 cls.env.ftrace.get_trace(cls.trace_file)
|
/external/lisa/libs/utils/android/ |
workload.py | 108 # Also update the extra ftrace points needed 164 # Make sure ftrace and systrace are not both specified to be collected 165 if 'ftrace' in self.collect and 'systrace' in self.collect: 166 msg = 'ftrace and systrace cannot be used at the same time' 168 # Start FTrace 169 if 'ftrace' in self.collect: 171 self._log.info('FTrace START') 172 self._te.ftrace.start() 173 # Start Systrace (mutually exclusive with ftrace) 205 # Stop FTrace [all...] |
/external/autotest/client/profilers/ftrace/ |
ftrace.py | 11 class ftrace(profiler.profiler): class in inherits:profiler.profiler 13 ftrace profiler for autotest. It builds ftrace from souce and runs 57 Initialize ftrace profiler. 85 Start ftrace profiler 92 output_dir = os.path.join(test.profdir, 'ftrace') 115 Stop ftrace profiler.
|