Home
last modified time | relevance | path

Searched refs:FtraceConfig (Results 1 – 20 of 20) sorted by relevance

/external/perfetto/src/tracing/core/
Dftrace_config.cc34 FtraceConfig::FtraceConfig() = default;
35 FtraceConfig::~FtraceConfig() = default;
36 FtraceConfig::FtraceConfig(const FtraceConfig&) = default;
37 FtraceConfig& FtraceConfig::operator=(const FtraceConfig&) = default;
38 FtraceConfig::FtraceConfig(FtraceConfig&&) noexcept = default;
39 FtraceConfig& FtraceConfig::operator=(FtraceConfig&&) = default;
43 bool FtraceConfig::operator==(const FtraceConfig& other) const { in operator ==()
52 void FtraceConfig::FromProto(const perfetto::protos::FtraceConfig& proto) { in FromProto()
94 void FtraceConfig::ToProto(perfetto::protos::FtraceConfig* proto) const { in ToProto()
/external/perfetto/include/perfetto/tracing/core/
Dftrace_config.h41 class FtraceConfig; variable
47 class PERFETTO_EXPORT FtraceConfig {
49 FtraceConfig();
50 ~FtraceConfig();
51 FtraceConfig(FtraceConfig&&) noexcept;
52 FtraceConfig& operator=(FtraceConfig&&);
53 FtraceConfig(const FtraceConfig&);
54 FtraceConfig& operator=(const FtraceConfig&);
55 bool operator==(const FtraceConfig&) const;
56 bool operator!=(const FtraceConfig& other) const { return !(*this == other); }
[all …]
Ddata_source_config.h53 class FtraceConfig; variable
105 const FtraceConfig& ftrace_config() const { return ftrace_config_; } in ftrace_config()
106 FtraceConfig* mutable_ftrace_config() { return &ftrace_config_; } in mutable_ftrace_config()
162 FtraceConfig ftrace_config_ = {};
Dtrace_config.h47 class FtraceConfig; variable
/external/perfetto/src/traced/probes/ftrace/
Dftrace_config_muxer.h60 FtraceConfigId SetupConfig(const FtraceConfig& request);
72 void SetupClockForTesting(const FtraceConfig& request) { in SetupClockForTesting()
76 const FtraceConfig* GetConfigForTesting(FtraceConfigId id);
79 const FtraceConfig& request, in GetFtraceEventsForTesting()
97 void SetupClock(const FtraceConfig& request);
98 void SetupBufferSize(const FtraceConfig& request);
99 void UpdateAtrace(const FtraceConfig& request);
106 std::set<GroupAndName> GetFtraceEvents(const FtraceConfig& request,
124 std::map<FtraceConfigId, FtraceConfig> configs_;
Dftrace_config_muxer_unittest.cc188 FtraceConfig config = CreateFtraceConfig({"power/cpu_frequency"}); in TEST_F()
219 const FtraceConfig* actual_config = model.GetConfigForTesting(id); in TEST_F()
228 FtraceConfig config = CreateFtraceConfig({"group_one/foo", "group_two/foo"}); in TEST_F()
250 const FtraceConfig* actual_config = model.GetConfigForTesting(id); in TEST_F()
260 FtraceConfig config = CreateFtraceConfig({"sched/*"}); in TEST_F()
309 const FtraceConfig* actual_config = model.GetConfigForTesting(id); in TEST_F()
319 FtraceConfig config = CreateFtraceConfig({"group_one/*", "group_two/*"}); in TEST_F()
352 const FtraceConfig* actual_config = model.GetConfigForTesting(id); in TEST_F()
361 FtraceConfig config = CreateFtraceConfig({"sched_switch", "foo"}); in TEST_F()
382 const FtraceConfig* actual_config = model.GetConfigForTesting(id); in TEST_F()
[all …]
Dftrace_controller_unittest.cc246 std::unique_ptr<FtraceDataSource> AddFakeDataSource(const FtraceConfig& cfg) { in AddFakeDataSource()
304 FtraceConfig config = CreateFtraceConfig({"not_an_event"}); in TEST()
312 FtraceConfig config = CreateFtraceConfig({"../try/to/escape"}); in TEST()
324 FtraceConfig config = CreateFtraceConfig({"group/foo"}); in TEST()
353 FtraceConfig configA = CreateFtraceConfig({"group/foo"}); in TEST()
354 FtraceConfig configB = CreateFtraceConfig({"group/foo", "group/bar"}); in TEST()
383 FtraceConfig config = CreateFtraceConfig({"group/foo"}); in TEST()
417 FtraceConfig config = CreateFtraceConfig({"group/foo"}); in TEST()
459 FtraceConfig config = CreateFtraceConfig({"group/foo"}); in TEST()
468 FtraceConfig config = CreateFtraceConfig({"group/foo"}); in TEST()
[all …]
Dftrace_config.cc59 FtraceConfig CreateFtraceConfig(std::set<std::string> names) { in CreateFtraceConfig()
60 FtraceConfig config; in CreateFtraceConfig()
66 bool RequiresAtrace(const FtraceConfig& config) { in RequiresAtrace()
70 bool ValidConfig(const FtraceConfig& config) { in ValidConfig()
Dftrace_config.h31 FtraceConfig CreateFtraceConfig(std::set<std::string> names);
34 bool RequiresAtrace(const FtraceConfig&);
36 bool ValidConfig(const FtraceConfig& config);
Dftrace_data_source.h60 const FtraceConfig&,
77 const FtraceConfig& config() const { return config_; } in config()
89 const FtraceConfig config_;
Dftrace_config_muxer.cc71 const FtraceConfig& request, in GetFtraceEvents()
304 FtraceConfigId FtraceConfigMuxer::SetupConfig(const FtraceConfig& request) { in SetupConfig()
306 FtraceConfig actual; in SetupConfig()
429 const FtraceConfig* FtraceConfigMuxer::GetConfigForTesting(FtraceConfigId id) { in GetConfigForTesting()
441 void FtraceConfigMuxer::SetupClock(const FtraceConfig&) { in SetupClock() argument
456 void FtraceConfigMuxer::SetupBufferSize(const FtraceConfig& request) { in SetupBufferSize()
462 void FtraceConfigMuxer::UpdateAtrace(const FtraceConfig& request) { in UpdateAtrace()
Dftrace_config_unittest.cc28 FtraceConfig config = CreateFtraceConfig({ in TEST()
Dftrace_data_source.cc34 const FtraceConfig& config, in FtraceDataSource()
/external/perfetto/ui/src/common/
Dprotos.ts27 import FtraceConfig = protos.perfetto.protos.FtraceConfig;
202 FtraceConfig,
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Dftrace_agent.py103 class FtraceConfig(tracing_agents.TracingConfig): class
120 return FtraceConfig(options.ftrace_categories, options.target,
/external/perfetto/ui/src/controller/
Drecord_controller.ts21 FtraceConfig,
220 ds.config.ftraceConfig = new FtraceConfig();
/external/perfetto/protos/perfetto/config/ftrace/
Dftrace_config.proto25 message FtraceConfig { message
/external/perfetto/protos/perfetto/config/
Ddata_source_config.proto70 optional FtraceConfig ftrace_config = 100;
Dperfetto_config.proto253 optional FtraceConfig ftrace_config = 100;
284 message FtraceConfig { message
/external/perfetto/protos/perfetto/trace/
Dperfetto_trace.proto3354 optional FtraceConfig ftrace_config = 100;
3385 message FtraceConfig { message