Class: Tracetool::Android::AndroidTraceScanner
- Inherits:
-
Object
- Object
- Tracetool::Android::AndroidTraceScanner
- Defined in:
- lib/tracetool/android.rb
Overview
Desymbolicates android traces
Constant Summary collapse
- SCANNERS =
List of scanners
[JavaTraceScanner, NativeTraceScanner].freeze
Instance Method Summary collapse
-
#process(trace, context) ⇒ Object
Launches process of trace desymbolication.
Instance Method Details
#process(trace, context) ⇒ Object
Launches process of trace desymbolication
15 16 17 18 19 20 |
# File 'lib/tracetool/android.rb', line 15 def process(trace, context) # Find scanner which maches trace format scanner = SCANNERS.map { |s| s[trace] }.compact.first raise(ArgumentError, "#{trace}\n not android trace?") unless scanner scanner.process(context) end |