tp: Nit reorder of class attributes (#3237)
Reorder per comment in https://github.com/google/perfetto/pull/3215
diff --git a/src/trace_processor/importers/proto/android_probes_parser.cc b/src/trace_processor/importers/proto/android_probes_parser.cc
index c908769..4d5ece8 100644
--- a/src/trace_processor/importers/proto/android_probes_parser.cc
+++ b/src/trace_processor/importers/proto/android_probes_parser.cc
@@ -132,6 +132,7 @@
AndroidProbesTracker* tracker)
: context_(context),
tracker_(tracker),
+ power_rails_args_tracker_(std::make_unique<ArgsTracker>(context)),
battery_status_id_(context->storage->InternString("BatteryStatus")),
plug_type_id_(context->storage->InternString("PlugType")),
energy_consumer_id_(
@@ -150,7 +151,6 @@
power_rail_raw_name_id_(context->storage->InternString("raw_name")),
power_rail_subsys_name_arg_id_(
context->storage->InternString("subsystem_name")),
- power_rails_args_tracker_(std::make_unique<ArgsTracker>(context)),
rail_packet_timestamp_id_(context->storage->InternString("packet_ts")) {}
void AndroidProbesParser::ParseRailDescriptor(
diff --git a/src/trace_processor/importers/proto/android_probes_parser.h b/src/trace_processor/importers/proto/android_probes_parser.h
index 5ba17ce..94aad5d 100644
--- a/src/trace_processor/importers/proto/android_probes_parser.h
+++ b/src/trace_processor/importers/proto/android_probes_parser.h
@@ -57,6 +57,8 @@
TraceProcessorContext* const context_;
AndroidProbesTracker* const tracker_;
+ std::unique_ptr<ArgsTracker> power_rails_args_tracker_;
+
const StringId battery_status_id_;
const StringId plug_type_id_;
const StringId energy_consumer_id_;
@@ -72,7 +74,6 @@
const StringId bt_handle_id_;
const StringId power_rail_raw_name_id_;
const StringId power_rail_subsys_name_arg_id_;
- std::unique_ptr<ArgsTracker> power_rails_args_tracker_;
const StringId rail_packet_timestamp_id_;
};
} // namespace perfetto::trace_processor