Home
last modified time | relevance | path

Searched refs:InterceptorBase (Results 1 – 13 of 13) sorted by relevance

/external/perfetto/src/tracing/
Dinterceptor.cc23 InterceptorBase::~InterceptorBase() = default;
24 InterceptorBase::ThreadLocalState::~ThreadLocalState() = default;
27 void InterceptorBase::RegisterImpl( in RegisterImpl()
29 std::function<std::unique_ptr<InterceptorBase>()> factory, in RegisterImpl()
30 InterceptorBase::TLSFactory tls_factory, in RegisterImpl()
31 InterceptorBase::TracePacketCallback on_trace_packet) { in RegisterImpl()
/external/perfetto/include/perfetto/tracing/
Dinterceptor.h181 class PERFETTO_EXPORT InterceptorBase {
183 virtual ~InterceptorBase();
240 std::function<std::unique_ptr<InterceptorBase>()> factory,
241 InterceptorBase::TLSFactory tls_factory,
242 InterceptorBase::TracePacketCallback on_trace_packet);
247 class PERFETTO_EXPORT Interceptor : public InterceptorBase {
313 InterceptorBase::ThreadLocalState* const tls_;
323 return std::unique_ptr<InterceptorBase>( in Register()
331 InterceptorBase::ThreadLocalState>::value) { in Register()
332 return std::unique_ptr<InterceptorBase::ThreadLocalState>(nullptr); in Register()
[all …]
Dconsole_interceptor.h74 struct ThreadLocalState : public InterceptorBase::ThreadLocalState {
/external/perfetto/include/perfetto/tracing/internal/
Dinterceptor_trace_writer.h32 InterceptorTraceWriter(std::unique_ptr<InterceptorBase::ThreadLocalState> tls,
33 InterceptorBase::TracePacketCallback packet_callback,
45 std::unique_ptr<InterceptorBase::ThreadLocalState> tls_;
46 InterceptorBase::TracePacketCallback packet_callback_;
Dtracing_muxer.h81 using InterceptorFactory = std::function<std::unique_ptr<InterceptorBase>()>;
84 InterceptorBase::TLSFactory,
85 InterceptorBase::TracePacketCallback) = 0;
Ddata_source_internal.h37 class InterceptorBase; variable
105 std::unique_ptr<InterceptorBase> interceptor;
/external/perfetto/src/tracing/internal/
Dinterceptor_trace_writer.cc28 std::unique_ptr<InterceptorBase::ThreadLocalState> tls, in InterceptorTraceWriter()
29 InterceptorBase::TracePacketCallback packet_callback, in InterceptorTraceWriter()
50 InterceptorBase::TracePacketCallbackArgs args{}; in Flush()
Dtracing_muxer_fake.cc75 InterceptorBase::TLSFactory, in RegisterInterceptor()
76 InterceptorBase::TracePacketCallback) { in RegisterInterceptor()
Dtracing_muxer_fake.h65 InterceptorBase::TLSFactory,
66 InterceptorBase::TracePacketCallback) override;
Dtracing_muxer_impl.h113 InterceptorBase::TLSFactory,
114 InterceptorBase::TracePacketCallback) override;
362 InterceptorBase::TLSFactory tls_factory{};
363 InterceptorBase::TracePacketCallback packet_callback{};
Dtracing_muxer_impl.cc803 InterceptorBase::TLSFactory tls_factory, in RegisterInterceptor()
804 InterceptorBase::TracePacketCallback packet_callback) { in RegisterInterceptor()
/external/perfetto/docs/instrumentation/
Dinterceptors.md110 : public perfetto::InterceptorBase::ThreadLocalState {
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc279 perfetto::InterceptorBase::TLSFactory, in RegisterInterceptor()
280 perfetto::InterceptorBase::TracePacketCallback) override {} in RegisterInterceptor()
3512 struct ThreadLocalState : public perfetto::InterceptorBase::ThreadLocalState {