OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ftrace_procfs
(Results
1 - 2
of
2
) sorted by null
/external/perfetto/src/traced/probes/ftrace/
ftrace_controller.cc
43
#include "src/traced/probes/ftrace/
ftrace_procfs
.h"
110
std::unique_ptr<FtraceProcfs>
ftrace_procfs
= nullptr;
local
111
while (!
ftrace_procfs
&& kTracingPaths[index]) {
112
ftrace_procfs
= FtraceProcfs::Create(kTracingPaths[index++]);
115
if (!
ftrace_procfs
)
119
ftrace_procfs
.get(), GetStaticEventInfo(), GetStaticCommonFieldsInfo());
125
new FtraceConfigMuxer(
ftrace_procfs
.get(), table.get()));
127
new FtraceController(std::move(
ftrace_procfs
), std::move(table),
131
FtraceController::FtraceController(std::unique_ptr<FtraceProcfs>
ftrace_procfs
,
139
ftrace_procfs_(std::move(
ftrace_procfs
)),
[
all
...]
ftrace_controller_unittest.cc
27
#include "src/traced/probes/ftrace/
ftrace_procfs
.h"
205
TestFtraceController(std::unique_ptr<MockFtraceProcfs>
ftrace_procfs
,
210
: FtraceController(std::move(
ftrace_procfs
),
279
std::unique_ptr<MockFtraceProcfs>
ftrace_procfs
;
local
281
ftrace_procfs
= std::unique_ptr<MockFtraceProcfs>(
284
ftrace_procfs
=
288
auto table = FakeTable(
ftrace_procfs
.get());
290
auto model = FakeModel(
ftrace_procfs
.get(), table.get());
292
MockFtraceProcfs* raw_procfs =
ftrace_procfs
.get();
294
std::move(
ftrace_procfs
), std::move(table), std::move(model)
[
all
...]
Completed in 126 milliseconds