Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: base/trace_event/trace_log.h

Issue 2259493003: [tracing] Add trace events filtering predicate for heap profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@heap_prof_filter
Patch Set: Ignore filter if not recording. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/trace_event/trace_log.h
diff --git a/base/trace_event/trace_log.h b/base/trace_event/trace_log.h
index 8cddf272b26926b57fe7db5e963b5cd5db7994ce..b2d9a59cc34ff82da21adf1dab80071233beadd7 100644
--- a/base/trace_event/trace_log.h
+++ b/base/trace_event/trace_log.h
@@ -314,6 +314,9 @@ class BASE_EXPORT TraceLog : public MemoryDumpProvider {
class TraceEventFilter {
public:
+ static const char* const kEventWhitelistPredicate;
+ static const char* const kHeapProfilerPredicate;
+
TraceEventFilter() {}
virtual ~TraceEventFilter() {}
virtual bool FilterTraceEvent(const TraceEvent& trace_event) const = 0;

Powered by Google App Engine
This is Rietveld 408576698