OSDN Git Service

Perfprofd: Fix missing symbol crash in stack script
authorAndreas Gampe <agampe@google.com>
Tue, 16 Jan 2018 01:49:11 +0000 (17:49 -0800)
committerAndreas Gampe <agampe@google.com>
Tue, 16 Jan 2018 01:49:11 +0000 (17:49 -0800)
commitee946b5adff5cc3d422c62f0e7bfaffd3cb46b5a
treedd8083a0c5ce5502f6e7dfb0ef041f23b6d15ca4
parent61fb5fe766150b2a2cc25e266371525b2ff8266a
Perfprofd: Fix missing symbol crash in stack script

It is possible we will not find a symbol for a frame in the backtrace.
Do not crash, print '???' instead.

Test: mmma system/extras/perfprofd
Test: manual
Change-Id: Ic91907c2f38adcbbd5979b7d1533df642ce763b3
perfprofd/scripts/perf_proto_stack.py