Skip to content

Commit

Permalink
arch/arm64: configs: Enable basic tracing for IORap
Browse files Browse the repository at this point in the history
Android 11's IORap prefetching service uses the following ftrace events
to profile I/O activity during app launches:

- mm_filemap_add_to_page_cache
- mm_filemap_delete_from_page_cache

Perfetto, the tracing daemon, is capable of using tracefs directly at
/sys/kernel/tracing, so we can forego debugfs and enable tracing by
itself now that tracefs' unnecessary dependency on debugfs has been
removed.

Signed-off-by: Danny Lin <[email protected]>
Signed-off-by: K A R T H I K <[email protected]>
  • Loading branch information
kdrag0n authored and karthik558 committed Apr 24, 2021
1 parent a8ffaa0 commit 7a17022
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm64/configs/vendor/violet-perf_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ CONFIG_SLAB_FREELIST_RANDOM=y
CONFIG_SLAB_FREELIST_HARDENED=y
# CONFIG_SLUB_CPU_PARTIAL is not set
# CONFIG_SYSTEM_DATA_VERIFICATION is not set
CONFIG_FTRACE=y
CONFIG_ENABLE_DEFAULT_TRACERS=y
# CONFIG_UPROBE_EVENTS is not set
# CONFIG_TRACING_EVENTS_GPIO is not set
CONFIG_PROFILING=y
CONFIG_TRACEPOINTS=y
CONFIG_JUMP_LABEL=y
Expand Down

0 comments on commit 7a17022

Please sign in to comment.