|
|
[OBSOLETE] tracing: split trace event filter logic out of TraceLog
Another refactoring aimed at slimming down the TraceLog monster-class
and simplifying dependencies of the tracing codebase.
This CL moves all the trace filters registry logic outside of the
TraceLog. On top of the mechanical refactoring, the major change
being introduced is event filters being now indefinitely lived.
This reduces the complexity of the interaction between TraceLog and
the filters, making them similar to the pattern used by TraceCategory.
There doesn't seem to be any actual need to unregister filters and hence
there is no need to keep worrying about their lifetime.
BUG= 659689
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+557 lines, -170 lines) |
Patch |
 |
M |
base/BUILD.gn
|
View
|
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/category_registry.h
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A |
base/trace_event/event_filter_registry.h
|
View
|
1
2
|
1 chunk |
+59 lines, -0 lines |
4 comments
|
Download
|
 |
A |
base/trace_event/event_filter_registry.cc
|
View
|
1
2
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
 |
A |
base/trace_event/event_filter_registry_unittest.cc
|
View
|
1
2
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
A |
base/trace_event/event_name_filter.h
|
View
|
1
2
|
1 chunk |
+45 lines, -0 lines |
1 comment
|
Download
|
 |
A |
base/trace_event/event_name_filter.cc
|
View
|
1
2
|
1 chunk |
+35 lines, -0 lines |
1 comment
|
Download
|
 |
A |
base/trace_event/event_name_filter_unittest.cc
|
View
|
1
2
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
base/trace_event/heap_profiler_event_filter.h
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A |
base/trace_event/heap_profiler_event_filter.cc
|
View
|
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/memory_dump_manager.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
base/trace_event/trace_event_filter.h
|
View
|
1
2
|
1 chunk |
+55 lines, -0 lines |
3 comments
|
Download
|
 |
M |
base/trace_event/trace_event_unittest.cc
|
View
|
1
2
|
7 chunks |
+18 lines, -10 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/trace_log.h
|
View
|
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/trace_log.cc
|
View
|
1
2
|
9 chunks |
+43 lines, -132 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/trace_log_constants.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/gn/bootstrap/bootstrap.py
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Depends on Patchset:
Dependent Patchsets:
Total messages: 27 (21 generated)
|