History log of /external/perfetto/tools/ftrace_proto_gen/ftrace_proto_gen.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/tools/ftrace_proto_gen/ftrace_proto_gen.cc
7c10462b049ee89df7bb99803d125e1c2a8b6512 28-Mar-2018 Anna Zappone <azappone@google.com> trace_to_text: Add I/O sanity checks

Switch ftrace_proto_gen to match new Trace to Text structure.
Add two initial I/O sanity checks: unique inode count and events
with inodes count to summary.

Bug: 73625480
Bug: 74584014
Change-Id: I513e0fa84cf4074dbec7ded548671d834a7faae2
/external/perfetto/tools/ftrace_proto_gen/ftrace_proto_gen.cc
8ce30879c9384dfb870d7496fdff62e2e0f5db50 19-Mar-2018 Anna Zappone <azappone@google.com> ftrace_reader: Update for uint64 block device ids

Switch previous code for plumbing uint32 device ids to translate to uint64 and add
translation strategies for uint64 device ids.
Add static_casts for inode numbers as well.

Bug: 73873362
Bug: 73625480
Change-Id: Id76ef4759739e78994c7b5bd2a9f85dc7d0890e3
/external/perfetto/tools/ftrace_proto_gen/ftrace_proto_gen.cc
6e4e0383b0baf72512e5d44339c43808179808ca 27-Feb-2018 Anna Zappone <azappone@google.com> ftrace_reader: Adding events for IO

Bug: 73625480
Change-Id: I6856afe6e10b2fba7a25fe700cb250e81847f6cf
/external/perfetto/tools/ftrace_proto_gen/ftrace_proto_gen.cc
22d4c57a232dcea4676fe9b9687a19ace3a5c103 08-Feb-2018 Hector Dearman <hjd@google.com> ftrace_reader: Adjust formatting of autogen code

The makes the output code better match clang format's expectations
removing the amount of unnecessary diff in future changes.

Change-Id: I88f2e9c59e050ff7cc2038522952e1998e8689c8
/external/perfetto/tools/ftrace_proto_gen/ftrace_proto_gen.cc
6498fcf89bfb41a1a3b28dd177513bef4c4b3d67 06-Feb-2018 Isabelle Taylor <taylori@google.com> Autogenerate event_info.cc based on the event whitelist.

Also added code to handle Uint16 and Bool types in ftrace fields.

Bug:70373826
Change-Id: Iabbf97721b97223db77af74312bc415f071e2b5a
/external/perfetto/tools/ftrace_proto_gen/ftrace_proto_gen.cc
7f37dc899fc5cb56a5f5d5c75790dfa775104fc8 25-Jan-2018 Hector Dearman <hjd@google.com> ftrace_reader: Add new ftrace events

Plumb events for atrace categories freq, load and idle.

Change-Id: I5f2ad525647d6b5fe779b572dc82c75345e500b4
/external/perfetto/tools/ftrace_proto_gen/ftrace_proto_gen.cc
39071bab88ffc96bef406014a99196acf9107209 16-Jan-2018 Hector Dearman <hjd@google.com> ftrace_reader: Move some code for generating the protos into tools/

We put too much code into src/ when refactoring the ftrace format
reader code. This puts some of the stuff we don't really need back
under tools/.

Bug: 71844955
Change-Id: I75cd18c7faedcab7806e83f93238b282341a0a68
/external/perfetto/tools/ftrace_proto_gen/ftrace_proto_gen.cc