OSDN Git Service

simpleperf: don't looking for _text symbol in /proc/kallsyms.
authorYabin Cui <yabinc@google.com>
Sat, 26 Mar 2016 00:43:43 +0000 (17:43 -0700)
committerYabin Cui <yabinc@google.com>
Sat, 26 Mar 2016 00:43:43 +0000 (17:43 -0700)
commit7134f388ccdccb4a5e3025254002a85333a72a70
tree59ed99a2abd87e4b38c7396d8bd2b987b6828646
parenteb40ab9e3501acd0153a3483d90bf1e6d890583f
simpleperf: don't looking for _text symbol in /proc/kallsyms.

simpleperf looks for _text symbol in /proc/kallsyms to get
kernel address space information. But that info is no longer
needed. As some kernels don't have _text symbol, we should
remove the corresponding code.

Bug: 27814103
Change-Id: I4eb9869b58c51846c99b1204f304cd107a0eb354
simpleperf/cmd_record.cpp
simpleperf/environment.cpp
simpleperf/environment.h