diff options
author | Martin Stjernholm <mast@google.com> | 2018-11-28 00:46:00 +0000 |
---|---|---|
committer | Martin Stjernholm <mast@google.com> | 2018-12-13 17:58:23 +0000 |
commit | 7c27cc24e7172183f2057fda4e38643f60228b99 (patch) | |
tree | 517b418ff34be12e72716065b5c4977c5928040a /simpleperf/dso.h | |
parent | 64f6bea89af059037b3fd70f8b1d9a8aac1da7b9 (diff) | |
download | extras-7c27cc24e7172183f2057fda4e38643f60228b99.tar.gz |
Use libdexfile external API in simpleperf.
Test: device boot
Test: atest system/extras/simpleperf/ (lots of failures, but no new ones. 4 of 4 passed in simpleperf_unit_test)
Test: mmma system/extras/simpleperf && adb root && adb shell rm -rf /data/test && adb push out/target/product/taimen/testcases/simpleperf_unit_test /data/test && adb shell /data/test/arm64/simpleperf_unit_test && adb shell /data/test/arm/simpleperf_unit_test
Bug: 119632407
Change-Id: Id070b8a99cb4d3bf4ec90cae186a2e88bcec72a1
Diffstat (limited to 'simpleperf/dso.h')
-rw-r--r-- | simpleperf/dso.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/dso.h b/simpleperf/dso.h index 5bf898f8..7e7f5587 100644 --- a/simpleperf/dso.h +++ b/simpleperf/dso.h @@ -59,7 +59,7 @@ struct Symbol { // TODO: make len uint32_t. uint64_t len; - Symbol(const std::string& name, uint64_t addr, uint64_t len); + Symbol(std::string_view name, uint64_t addr, uint64_t len); const char* Name() const { return name_; } const char* DemangledName() const; |