catapult-project / perfetto Goto Github PK
View Code? Open in Web Editor NEWRead-only mirror of https://android.googlesource.com/platform/external/perfetto/
Read-only mirror of https://android.googlesource.com/platform/external/perfetto/
Hi Folks,
https://github.com/catapult-project/perfetto/blob/master/tools/heap_profile
https://www.perfetto.dev/#/heapprofd?id=viewing-the-data
Looking to run this on android Q device and do memory profile. Documents are minimal.
@segfaulthunter Please share details on how to run on android Application and what windows environment setup required for the same.?
ex:
tools/heap_profile --name system_server
system_server is package name of the application?
Thanks
Currently, this repository is creating 5 Mac jobs for each build. With active development and cron jobs, it has more than 300 jobs queued up (but none of them is running; they are just waiting).
This is a huge burden on the system. Please consider canceling old ones and reducing the load.
Thanks.
I meet a problem when use prefetto in android 10
device: Pixel XL
version: Android 10 (QP1A.191005.007.A1)
the error msg is shown below:
pprof_builder.cc:245 WARNING: The profile for 22029 was rejected due to a concurrent profile.
pprof_builder.cc:245 WARNING: The profile for 22029 was rejected due to a concurrent profile.
utils.cc:58 PERFETTO_CHECK(preamble == 0x0a) (errno: 0, Undefined error: 0)
------------------ BEGINNING OF CRASH ------------------
Signal: Illegal instruction (possibly unaligned access)
Fault addr: 0000000108D5C24F
Backtrace:
#00 _sigtramp
#1 perfetto::trace_to_text::ForEachPacketBlobInTrace(std::__1::basic_istream<char, std::__1::char_traits >*, std::__1::function<void (std::__1::unique_ptr<char [], std::__1::default_delete<char []> >, unsigned long)> const&)
#2 perfetto::trace_to_text::ForEachPacketInTrace(std::__1::basic_istream<char, std::__1::char_traits >*, std::__1::function<void (perfetto::protos::TracePacket const&)> const&)
#3 bool perfetto::trace_to_text::VisitCompletePacket<perfetto::trace_to_text::TraceToPprof(std::__1::basic_istream<char, std::__1::char_traits >*, std::__1::vector<perfetto::trace_to_text::SerializedProfile, std::__1::allocator<perfetto::trace_to_text:
#4 perfetto::trace_to_text::TraceToPprof(std::__1::basic_istream<char, std::__1::char_traits >, std::__1::vector<perfetto::trace_to_text::SerializedProfile, std::__1::allocatorperfetto::trace_to_text::SerializedProfile >, perfetto::trace_to_text::S
#5 perfetto::trace_to_text::TraceToProfile(std::__1::basic_istream<char, std::__1::char_traits >, std::__1::basic_ostream<char, std::__1::char_traits >)
#6 main
------------------ END OF CRASH ------------------
Traceback (most recent call last):
File "heap_profile.py", line 408, in
sys.exit(main(sys.argv))
File "heap_profile.py", line 373, in main
[trace_to_text_binary, 'profile', '/tmp/profile'])
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['/var/folders/34/4k9r7mps39d25z3vsy23v0r0chk970/T/trace_to_text-mac-47045bc6abd4f9113969211f37fdd2259b0c1cc3', 'profile', '/tmp/profile']' returned non-zero exit status -4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.