diff options
author | Kalesh Singh <kaleshsingh@google.com> | 2022-06-15 22:54:20 -0700 |
---|---|---|
committer | Kalesh Singh <kaleshsingh@google.com> | 2022-06-22 13:18:26 -0700 |
commit | eee1f322a6eeed46b3d8ef1a08bf40ff85dd3e2a (patch) | |
tree | ac234fb8e21fa3580c9fd365368207664d3d2e67 | |
parent | ed805dc1d1d2592be55cfcfeb49cecf62be2a9c2 (diff) | |
download | perfetto-eee1f322a6eeed46b3d8ef1a08bf40ff85dd3e2a.tar.gz |
perfetto: Add rss_stat.cfg test config
Add a test config for rss_stat/rss_stat_throttled ftrace events.
Test: adb push test/configs/rss_stat.cfg /data/local/tmp/
&& cf-adb shell 'cat /data/local/tmp/rss_stat.cfg |
perfetto --txt -c - -o /data/misc/perfetto-traces/trace
Bug: 236172293
Change-Id: Ie2852467c21c6c7bdfa1c75dc60f49f28e6f709f
Merged-In: Ie2852467c21c6c7bdfa1c75dc60f49f28e6f709f
-rw-r--r-- | test/configs/rss_stat.cfg | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/configs/rss_stat.cfg b/test/configs/rss_stat.cfg new file mode 100644 index 000000000..010aa9746 --- /dev/null +++ b/test/configs/rss_stat.cfg @@ -0,0 +1,17 @@ +buffers: { + size_kb: 512 + fill_policy: DISCARD +} + +data_sources: { + config { + name: "linux.ftrace" + ftrace_config { + ftrace_events: "sched_switch" + ftrace_events: "kmem/rss_stat" + throttle_rss_stat: true + } + } +} + +duration_ms: 10000 |