OSDN Git Service

simpleperf: fix build id in pprof_proto_generator.py.
authorYabin Cui <yabinc@google.com>
Tue, 17 Sep 2019 19:25:43 +0000 (12:25 -0700)
committerYabin Cui <yabinc@google.com>
Tue, 17 Sep 2019 21:37:06 +0000 (14:37 -0700)
commitba720a42dc8b57729814202568d087e4f04cf020
tree17361212a00efde55b83782f9a021c04aacb4441
parent8b3bcfa42b1b6fe13922b3d00120627bf16532fc
simpleperf: fix build id in pprof_proto_generator.py.

Simpleperf stores padded build id in perf.data, but pprof needs
real build ids in proto file. So we need to convert from padded
build ids to real build ids.

Bug: 141026312
Test: run test.py.
Change-Id: I7f4454343fd80f77364b67ec729cfba478925029
simpleperf/scripts/pprof_proto_generator.py
simpleperf/scripts/test.py
simpleperf/scripts/utils.py