Comments (4)
Which device are you running on?
Could you try running adb shell setprop persist.traced.enable 1
and then retrying?
from perfetto.
@wingyippp , what happens if you do adb shell rm /data/misc/perfetto-traces/profile-shell
@segfaulthunter maybe the script should use unique file names (and delete them after pull)?
from perfetto.
@wingyippp , what happens if you do
adb shell rm /data/misc/perfetto-traces/profile-shell
@segfaulthunter maybe the script should use unique file names (and delete them after pull)?
adb shell rm /data/misc/perfetto-traces/profile-shell
rm: /data/misc/perfetto-traces/profile-shell: No such file or directory
Then run the cmd again "tools/heap_profile [process_name]", I got the same error show above.
P.S. My device is Android 10.0
from perfetto.
Which device are you running on?
Could you try running
adb shell setprop persist.traced.enable 1
and then retrying?
MY-MB2:perfetto wingyipye$ adb shell setprop persist.traced.enable 1
MY-MB2:perfetto wingyipye$ tools/heap_profile --name [process_name]
Profiling active. Press Ctrl+C to terminate.
You may disconnect your device.
Wrote profiles to /var/folders/s2/_l4q4mv16w3b_lrg1_p636jx49_ckw/T//heap_profile-ElYmfFC (symlink /var/folders/s2/_l4q4mv16w3b_lrg1_p636jx49_ckw/T/heap_profile-latest)
These can be viewed using pprof. Googlers: head to pprof/ and upload them.
It's OK now. Thank you!
My device is Galaxy S9+ (SM-G9650/DS)
from perfetto.
Related Issues (20)
- DataSource silently dropping packets HOT 7
- Can I use trace_process on cygwin? HOT 1
- Support uploading files with ISO-8559-1 characters
- CTRL+SHIFT+P doesn't work with Firefox as Firefox uses that shortcut to open a private window HOT 7
- Does perfetto have functionality for showing two isolated trace files? HOT 1
- [UI] console.log() spam in android_binder metric HOT 1
- [Question] Save timeline of a thread as an svg HOT 1
- trace_processor endpoints return non-compilant http headers HOT 3
- Instant events do not display correctly if they have the same timestamp as a duration event HOT 3
- Can we support zip file in webui? HOT 3
- Why do the "copy query" and "copy result" buttons in the SQL query interface not work? HOT 1
- Perfetto ui search results automatically jump problem HOT 1
- 增加一个开关,清除所有的mark标记 HOT 1
- Whats the preferred way to trace data dependencies across threads? HOT 2
- spans linked by flow_ids render poorly with nesting HOT 11
- Try to rebuild for changing timestamp_clock_id? HOT 1
- Questions about how to use different clock domain? HOT 1
- Not working with Android 14? No profiles generated! HOT 1
- how to merge trace file collected from different socs HOT 2
- Perfetto doesn't expose metadata from F12 Dev Tools .json file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perfetto.