18bee92239d27fe178ab7fe520de237a17e0b264 |
|
30-Apr-2018 |
Primiano Tucci <primiano@google.com> |
perfetto: bump max cpu buffer size in ftrace Turns out 2MB is too small and we can get overwrites in the ftrace kernel buffer in this situation. Bump to prevent potential issues from happening. Bug: 78765090 Change-Id: If80ff33e39b7c6938a652c90cd988fd77bd853b8 Merged-In: If80ff33e39b7c6938a652c90cd988fd77bd853b8 (cherry picked from commit a7828e63b82d0876a47272a750a8d258e2b0787c)
/external/perfetto/src/ftrace_reader/ftrace_config_muxer.cc
|
3cbb10a30c000fcd2cd4658dd215778422c7bbb1 |
|
10-Apr-2018 |
Primiano Tucci <primiano@google.com> |
Remove warning suppressions and fix many casting bugs This change removes most warning suppressions, in particular from production code. In the past we inherit a bunch of -Wno-xxx suppressions required to build gtest and libprotobuf headers. Doing so, however, caused the suppressions to propagate back to the translation units that were including any protobuf header or any auto-generated .pb.h stub. This change moves the gtest and probobuf header to be a system include (-isystem vs -I). Doing so implicitly blacklists any compiler warning on the headers. This CL then re-enables warnings and deals with the fall out of fixes that came out of this. Bug: 77316877 Test: pefetto_unittests / perfetto_integrationtests Change-Id: I3a01852ebf7d0b9bf19658ddf117209d129c70be
/external/perfetto/src/ftrace_reader/ftrace_config_muxer.cc
|
fc9a8c95c81a874376514618400d5455bd243b39 |
|
27-Mar-2018 |
Hector Dearman <hjd@google.com> |
ftrace_reader: Use atrace --only_userspace option Bug: 73625407 Change-Id: I5c75233b641b31bfe4d4a8c6ebc1d6b71bf1f5e0
/external/perfetto/src/ftrace_reader/ftrace_config_muxer.cc
|
de42bd84906bc2ae9b88587a606373369b9de95b |
|
27-Mar-2018 |
Florian Mayer <fmayer@google.com> |
Perfetto changes for i/o tracing on user builds. Bug: 74584014 Change-Id: Ie241267d530231a7f2d17f7e8bd2bf8aaf4bf507
/external/perfetto/src/ftrace_reader/ftrace_config_muxer.cc
|
c27e5fb36b83879684f64fabe6aa5b1bcf0673c0 |
|
26-Mar-2018 |
Hector Dearman <hjd@google.com> |
ftrace_reader: Add atrace categories Bug: 73625407 Change-Id: I133cba46401ee5456cb0babb3f4d82002a9e1050
/external/perfetto/src/ftrace_reader/ftrace_config_muxer.cc
|
dbd08783f554b8651fc00417e3a50e096419d324 |
|
21-Mar-2018 |
Florian Mayer <fmayer@google.com> |
make constants constexpr. Change-Id: I0b38444339992e3f3fec40f4b72ced57b7c97481
/external/perfetto/src/ftrace_reader/ftrace_config_muxer.cc
|
ba3eeaeb6068b9426d891041b0ab1c827bd63d02 |
|
12-Mar-2018 |
Florian Mayer <fmayer@google.com> |
Make relative includes absolute. Change-Id: I9d3eeb67d6b39b05dd85d11746497791ac2665f9
/external/perfetto/src/ftrace_reader/ftrace_config_muxer.cc
|
c20f221c3382ac410014f1007d5f97fa10c29fe7 |
|
08-Mar-2018 |
Hector Dearman <hjd@google.com> |
ftrace_reader: Mock code that runs atrace for testing Change-Id: I5601e87fc03ba0b9b499d7224a6ec231230ca9e4
/external/perfetto/src/ftrace_reader/ftrace_config_muxer.cc
|
3689c91171dd7adf250067732a78568e1fae33a7 |
|
03-Mar-2018 |
Primiano Tucci <primiano@google.com> |
Mark file descriptors as FD_CLOEXEC This prevents that they are leaked when exec(atrace). When that happens, they cause unnecessary SELinux violations because the new exec-ed process inherits them. Change-Id: I4070bb944f168532799a1450cc35a7b3de1398d8
/external/perfetto/src/ftrace_reader/ftrace_config_muxer.cc
|
d410c82340bf5502e44283daf4be64f566d11262 |
|
23-Feb-2018 |
Hector Dearman <hjd@google.com> |
ftrace_reader: Rename event_names to ftrace_events Bug: 73231295 Change-Id: Ia579be898ffc645db7ff61e972441a832d56ab9a
/external/perfetto/src/ftrace_reader/ftrace_config_muxer.cc
|
5013971489bcdbdc6ad55a4a974c61c4107d2ce4 |
|
23-Feb-2018 |
Hector Dearman <hjd@google.com> |
ftrace_reader: Add FtraceConfigMuxer Move the logic for handling enabling/disabling/adjusting ftrace settings into a new class: FtraceConfigMuxer. Ftrace is a bunch of globaly modifiable persistent state. Given a number of FtraceConfig's we need to find the best union of all the settings to make eveyone happy while also watching out for anybody messing with the ftrace settings at the same time as us. Specifically FtraceConfigMuxer takes in a *requested* FtraceConfig (|RequestConfig|), makes a best effort attempt to modify the ftrace debugfs files to honor those settings without interupting other perfetto traces already in progress or other users of ftrace, then returns an FtraceConfigId representing that config or zero on failure. To see which settings we actually managed to set you can call |GetConfig| and when you are finished with a config you can signal that with |RemoveConfig|. Bug: 73049510 Change-Id: I774ced0341c29ba8274c08170abbecc922dacb62
/external/perfetto/src/ftrace_reader/ftrace_config_muxer.cc
|