统计


simpleperf stat  -p 2054 -e cache-references,cache-references:u,cache-references:k,cache-misses,cache-misses:u,cache-misses:k,instructions,raw-mem-access,raw-l2-dcache-refill,raw-l2-dcache-wb,msm_pil_event:pil_event,cpu-cycles,msm_pil_event:pil_func

该命令会一直统计,直到你按Ctrl-C。 如果想指定timeout自动退出统计,用–duration time_in_sec 。

record


cd /data 
simpleperf record -p 2054

支持的事件类型

Click to expand!
  
```bash

List of hw-cache events:
  branch-load-misses
  branch-loads
  branch-store-misses
  branch-stores
  dTLB-load-misses
  dTLB-loads
  iTLB-load-misses
  iTLB-loads
  L1-dcache-load-misses
  L1-dcache-loads
  L1-dcache-store-misses
  L1-dcache-stores
  L1-icache-load-misses
  L1-icache-loads

List of hardware events:
  branch-misses
  bus-cycles
  cache-misses
  cache-references
  cpu-cycles
  instructions
  stalled-cycles-backend
  stalled-cycles-frontend

List of raw events provided by cpu pmu:
  # Please refer to PMU event numbers listed in ARMv8 manual for details.
  # A possible link is https://developer.arm.com/docs/ddi0487/latest/arm-architecture-reference-manual-armv8-for-armv8-a-architecture-profile.
  raw-br-mis-pred		# mispredicted or not predicted branch speculatively executed
  raw-br-mis-pred-retired		# mispredicted branch (instruction architecturally executed)
  raw-br-pred		# predictable branch speculatively executed
  raw-br-retired		# branch (instruction architecturally executed)
  raw-bus-access		# bus access
  raw-bus-cycles		# bus cycle
  raw-cpu-cycles		# cpu cycles
  raw-exception-return		# exception return (instruction architecturally executed)
  raw-exception-taken		# exception taken
  raw-inst-spec		# operation speculatively executed
  raw-instruction-retired		# instructions (instruction architecturally executed)
  raw-l1-dcache		# level 1 data cache access
  raw-l1-dcache-refill		# level 1 data cache refill
  raw-l1-dcache-wb		# level 1 data cache write-back
  raw-l1-dtlb		# level 1 data or unified TLB access
  raw-l1-dtlb-refill		# level 1 data TLB refill
  raw-l1-icache		# level 1 instruction cache access
  raw-l1-icache-refill		# level 1 instruction cache refill
  raw-l1-itlb		# level 1 instruction TLB access
  raw-l1-itlb-refill		# level 1 instruction TLB refill
  raw-l2-dcache		# level 2 data cache access
  raw-l2-dcache-allocate		# level 2 data cache allocation without refill
  raw-l2-dcache-refill		# level 2 data cache refill
  raw-l2-dcache-wb		# level 2 data cache write-back
  raw-l2-dtlb		# level 2 data or unified TLB access
  raw-l3-dcache		# level 3 data or unified cache access
  raw-l3-dcache-allocate		# level 3 data or unified cache allocation without refill
  raw-l3-dcache-refill		# level 3 data or unified cache refill
  raw-mem-access		# data memory access
  raw-stall-backend		# no operation issued due to the backend
  raw-stall-frontend		# no operation issued due to the frontend

List of software events:
  alignment-faults
  context-switches
  cpu-clock
  cpu-migrations
  emulation-faults
  major-faults
  minor-faults
  page-faults
  task-clock

List of tracepoint events:
  alarmtimer:alarmtimer_cancel
  alarmtimer:alarmtimer_fired
  alarmtimer:alarmtimer_start
  alarmtimer:alarmtimer_suspend
  android_fs:android_fs_dataread_end
  android_fs:android_fs_dataread_start
  android_fs:android_fs_datawrite_end
  android_fs:android_fs_datawrite_start
  android_fs:android_fs_fsync_end
  android_fs:android_fs_fsync_start
  asoc:snd_soc_bias_level_done
  asoc:snd_soc_bias_level_start
  asoc:snd_soc_dapm_connected
  asoc:snd_soc_dapm_done
  asoc:snd_soc_dapm_path
  asoc:snd_soc_dapm_start
  asoc:snd_soc_dapm_walk_done
  asoc:snd_soc_dapm_widget_event_done
  asoc:snd_soc_dapm_widget_event_start
  asoc:snd_soc_dapm_widget_power
  asoc:snd_soc_jack_irq
  asoc:snd_soc_jack_notify
  asoc:snd_soc_jack_report
  binder:binder_alloc_lru_end
  binder:binder_alloc_lru_start
  binder:binder_alloc_page_end
  binder:binder_alloc_page_start
  binder:binder_command
  binder:binder_free_lru_end
  binder:binder_free_lru_start
  binder:binder_ioctl
  binder:binder_ioctl_done
  binder:binder_lock
  binder:binder_locked
  binder:binder_read_done
  binder:binder_return
  binder:binder_set_priority
  binder:binder_transaction
  binder:binder_transaction_alloc_buf
  binder:binder_transaction_buffer_release
  binder:binder_transaction_failed_buffer_release
  binder:binder_transaction_fd
  binder:binder_transaction_node_to_ref
  binder:binder_transaction_received
  binder:binder_transaction_ref_to_node
  binder:binder_transaction_ref_to_ref
  binder:binder_unlock
  binder:binder_unmap_kernel_end
  binder:binder_unmap_kernel_start
  binder:binder_unmap_user_end
  binder:binder_unmap_user_start
  binder:binder_update_page_range
  binder:binder_wait_for_work
  binder:binder_write_done
  block:block_bio_backmerge
  block:block_bio_bounce
  block:block_bio_complete
  block:block_bio_frontmerge
  block:block_bio_queue
  block:block_bio_remap
  block:block_dirty_buffer
  block:block_getrq
  block:block_plug
  block:block_rq_complete
  block:block_rq_insert
  block:block_rq_issue
  block:block_rq_remap
  block:block_rq_requeue
  block:block_sleeprq
  block:block_split
  block:block_touch_buffer
  block:block_unplug
  bridge:br_fdb_add
  bridge:br_fdb_external_learn_add
  bridge:br_fdb_update
  bridge:fdb_delete
  camera:cam_apply_req
  camera:cam_buf_done
  camera:cam_cdm_cb
  camera:cam_context_state
  camera:cam_flush_req
  camera:cam_icp_fw_dbg
  camera:cam_irq_activated
  camera:cam_irq_handled
  camera:cam_isp_activated_irq
  camera:cam_log_event
  camera:cam_req_mgr_add_req
  camera:cam_req_mgr_apply_request
  camera:cam_req_mgr_connect_device
  camera:cam_submit_to_hw
  cfg80211:cfg80211_cac_event
  cfg80211:cfg80211_ch_switch_notify
  cfg80211:cfg80211_ch_switch_started_notify
  cfg80211:cfg80211_chandef_dfs_required
  cfg80211:cfg80211_cqm_pktloss_notify
  cfg80211:cfg80211_cqm_rssi_notify
  cfg80211:cfg80211_del_sta
  cfg80211:cfg80211_ft_event
  cfg80211:cfg80211_get_bss
  cfg80211:cfg80211_gtk_rekey_notify
  cfg80211:cfg80211_ibss_joined
  cfg80211:cfg80211_inform_bss_frame
  cfg80211:cfg80211_mgmt_tx_status
  cfg80211:cfg80211_michael_mic_failure
  cfg80211:cfg80211_new_sta
  cfg80211:cfg80211_notify_new_peer_candidate
  cfg80211:cfg80211_pmksa_candidate_notify
  cfg80211:cfg80211_probe_status
  cfg80211:cfg80211_radar_event
  cfg80211:cfg80211_ready_on_channel
  cfg80211:cfg80211_ready_on_channel_expired
  cfg80211:cfg80211_reg_can_beacon
  cfg80211:cfg80211_report_obss_beacon
  cfg80211:cfg80211_report_wowlan_wakeup
  cfg80211:cfg80211_return_bool
  cfg80211:cfg80211_return_bss
  cfg80211:cfg80211_return_u32
  cfg80211:cfg80211_return_uint
  cfg80211:cfg80211_rx_control_port
  cfg80211:cfg80211_rx_mgmt
  cfg80211:cfg80211_rx_mlme_mgmt
  cfg80211:cfg80211_rx_spurious_frame
  cfg80211:cfg80211_rx_unexpected_4addr_frame
  cfg80211:cfg80211_rx_unprot_mlme_mgmt
  cfg80211:cfg80211_scan_done
  cfg80211:cfg80211_sched_scan_results
  cfg80211:cfg80211_sched_scan_stopped
  cfg80211:cfg80211_send_assoc_timeout
  cfg80211:cfg80211_send_auth_timeout
  cfg80211:cfg80211_send_rx_assoc
  cfg80211:cfg80211_send_rx_auth
  cfg80211:cfg80211_stop_iface
  cfg80211:cfg80211_tdls_oper_request
  cfg80211:cfg80211_tx_mlme_mgmt
  cfg80211:cfg80211_update_owe_info_event
  cfg80211:rdev_abort_scan
  cfg80211:rdev_add_key
  cfg80211:rdev_add_mpath
  cfg80211:rdev_add_nan_func
  cfg80211:rdev_add_station
  cfg80211:rdev_add_tx_ts
  cfg80211:rdev_add_virtual_intf
  cfg80211:rdev_assoc
  cfg80211:rdev_auth
  cfg80211:rdev_cancel_remain_on_channel
  cfg80211:rdev_change_beacon
  cfg80211:rdev_change_bss
  cfg80211:rdev_change_mpath
  cfg80211:rdev_change_station
  cfg80211:rdev_change_virtual_intf
  cfg80211:rdev_channel_switch
  cfg80211:rdev_connect
  cfg80211:rdev_crit_proto_start
  cfg80211:rdev_crit_proto_stop
  cfg80211:rdev_deauth
  cfg80211:rdev_del_key
  cfg80211:rdev_del_mpath
  cfg80211:rdev_del_nan_func
  cfg80211:rdev_del_pmk
  cfg80211:rdev_del_pmksa
  cfg80211:rdev_del_station
  cfg80211:rdev_del_tx_ts
  cfg80211:rdev_del_virtual_intf
  cfg80211:rdev_disassoc
  cfg80211:rdev_disconnect
  cfg80211:rdev_dump_mpath
  cfg80211:rdev_dump_mpp
  cfg80211:rdev_dump_station
  cfg80211:rdev_dump_survey
  cfg80211:rdev_external_auth
  cfg80211:rdev_flush_pmksa
  cfg80211:rdev_get_antenna
  cfg80211:rdev_get_channel
  cfg80211:rdev_get_key
  cfg80211:rdev_get_mesh_config
  cfg80211:rdev_get_mpath
  cfg80211:rdev_get_mpp
  cfg80211:rdev_get_station
  cfg80211:rdev_get_tx_power
  cfg80211:rdev_get_txq_stats
  cfg80211:rdev_join_ibss
  cfg80211:rdev_join_mesh
  cfg80211:rdev_join_ocb
  cfg80211:rdev_leave_ibss
  cfg80211:rdev_leave_mesh
  cfg80211:rdev_leave_ocb
  cfg80211:rdev_libertas_set_mesh_channel
  cfg80211:rdev_mgmt_frame_register
  cfg80211:rdev_mgmt_tx
  cfg80211:rdev_mgmt_tx_cancel_wait
  cfg80211:rdev_nan_change_conf
  cfg80211:rdev_probe_client
  cfg80211:rdev_remain_on_channel
  cfg80211:rdev_resume
  cfg80211:rdev_return_chandef
  cfg80211:rdev_return_int
  cfg80211:rdev_return_int_cookie
  cfg80211:rdev_return_int_int
  cfg80211:rdev_return_int_mesh_config
  cfg80211:rdev_return_int_mpath_info
  cfg80211:rdev_return_int_station_info
  cfg80211:rdev_return_int_survey_info
  cfg80211:rdev_return_int_tx_rx
  cfg80211:rdev_return_void
  cfg80211:rdev_return_void_tx_rx
  cfg80211:rdev_return_wdev
  cfg80211:rdev_rfkill_poll
  cfg80211:rdev_scan
  cfg80211:rdev_sched_scan_start
  cfg80211:rdev_sched_scan_stop
  cfg80211:rdev_set_antenna
  cfg80211:rdev_set_ap_chanwidth
  cfg80211:rdev_set_bitrate_mask
  cfg80211:rdev_set_coalesce
  cfg80211:rdev_set_cqm_rssi_config
  cfg80211:rdev_set_cqm_rssi_range_config
  cfg80211:rdev_set_cqm_txe_config
  cfg80211:rdev_set_default_key
  cfg80211:rdev_set_default_mgmt_key
  cfg80211:rdev_set_mac_acl
  cfg80211:rdev_set_mcast_rate
  cfg80211:rdev_set_monitor_channel
  cfg80211:rdev_set_multicast_to_unicast
  cfg80211:rdev_set_noack_map
  cfg80211:rdev_set_pmk
  cfg80211:rdev_set_pmksa
  cfg80211:rdev_set_power_mgmt
  cfg80211:rdev_set_qos_map
  cfg80211:rdev_set_rekey_data
  cfg80211:rdev_set_tx_power
  cfg80211:rdev_set_txq_params
  cfg80211:rdev_set_wakeup
  cfg80211:rdev_set_wds_peer
  cfg80211:rdev_set_wiphy_params
  cfg80211:rdev_start_ap
  cfg80211:rdev_start_nan
  cfg80211:rdev_start_p2p_device
  cfg80211:rdev_start_radar_detection
  cfg80211:rdev_stop_ap
  cfg80211:rdev_stop_nan
  cfg80211:rdev_stop_p2p_device
  cfg80211:rdev_suspend
  cfg80211:rdev_tdls_cancel_channel_switch
  cfg80211:rdev_tdls_channel_switch
  cfg80211:rdev_tdls_mgmt
  cfg80211:rdev_tdls_oper
  cfg80211:rdev_testmode_cmd
  cfg80211:rdev_testmode_dump
  cfg80211:rdev_tx_control_port
  cfg80211:rdev_update_connect_params
  cfg80211:rdev_update_ft_ies
  cfg80211:rdev_update_mesh_config
  cfg80211:rdev_update_owe_info
  cgroup:cgroup_attach_task
  cgroup:cgroup_destroy_root
  cgroup:cgroup_mkdir
  cgroup:cgroup_release
  cgroup:cgroup_remount
  cgroup:cgroup_rename
  cgroup:cgroup_rmdir
  cgroup:cgroup_setup_root
  cgroup:cgroup_transfer_tasks
  clk:clk_disable
  clk:clk_disable_complete
  clk:clk_enable
  clk:clk_enable_complete
  clk:clk_prepare
  clk:clk_prepare_complete
  clk:clk_set_duty_cycle
  clk:clk_set_duty_cycle_complete
  clk:clk_set_parent
  clk:clk_set_parent_complete
  clk:clk_set_phase
  clk:clk_set_phase_complete
  clk:clk_set_rate
  clk:clk_set_rate_complete
  clk:clk_state
  clk:clk_unprepare
  clk:clk_unprepare_complete
  cma:cma_alloc
  cma:cma_alloc_busy_retry
  cma:cma_alloc_start
  cma:cma_release
  compaction:mm_compaction_begin
  compaction:mm_compaction_defer_compaction
  compaction:mm_compaction_defer_reset
  compaction:mm_compaction_deferred
  compaction:mm_compaction_end
  compaction:mm_compaction_finished
  compaction:mm_compaction_isolate_freepages
  compaction:mm_compaction_isolate_migratepages
  compaction:mm_compaction_kcompactd_sleep
  compaction:mm_compaction_kcompactd_wake
  compaction:mm_compaction_migratepages
  compaction:mm_compaction_suitable
  compaction:mm_compaction_try_to_compact_pages
  compaction:mm_compaction_wakeup_kcompactd
  cpuhp:cpuhp_enter
  cpuhp:cpuhp_exit
  cpuhp:cpuhp_latency
  cpuhp:cpuhp_multi_enter
  dcvsh:dcvsh_freq
  dfc:dfc_adjust_grant
  dfc:dfc_client_state_down
  dfc:dfc_client_state_up
  dfc:dfc_flow_check
  dfc:dfc_flow_ind
  dfc:dfc_flow_info
  dfc:dfc_qmap
  dfc:dfc_qmap_cmd
  dfc:dfc_qmi_tc
  dfc:dfc_tx_link_status_ind
  dfc:dfc_watchdog
  dma_fence:dma_fence_destroy
  dma_fence:dma_fence_emit
  dma_fence:dma_fence_enable_signal
  dma_fence:dma_fence_init
  dma_fence:dma_fence_signaled
  dma_fence:dma_fence_wait_end
  dma_fence:dma_fence_wait_start
  drm:drm_vblank_event
  drm:drm_vblank_event_delivered
  drm:drm_vblank_event_queued
  dwc3:dwc3_alloc_request
  dwc3:dwc3_complete_trb
  dwc3:dwc3_ctrl_req
  dwc3:dwc3_ep_dequeue
  dwc3:dwc3_ep_queue
  dwc3:dwc3_event
  dwc3:dwc3_free_request
  dwc3:dwc3_gadget_ep_cmd
  dwc3:dwc3_gadget_ep_disable
  dwc3:dwc3_gadget_ep_enable
  dwc3:dwc3_gadget_generic_cmd
  dwc3:dwc3_gadget_giveback
  dwc3:dwc3_prepare_trb
  dwc3:dwc3_readl
  dwc3:dwc3_writel
  emulation:instruction_emulation
  ext4:ext4_alloc_da_blocks
  ext4:ext4_allocate_blocks
  ext4:ext4_allocate_inode
  ext4:ext4_begin_ordered_truncate
  ext4:ext4_collapse_range
  ext4:ext4_da_release_space
  ext4:ext4_da_reserve_space
  ext4:ext4_da_update_reserve_space
  ext4:ext4_da_write_begin
  ext4:ext4_da_write_end
  ext4:ext4_da_write_pages
  ext4:ext4_da_write_pages_extent
  ext4:ext4_direct_IO_enter
  ext4:ext4_direct_IO_exit
  ext4:ext4_discard_blocks
  ext4:ext4_discard_preallocations
  ext4:ext4_drop_inode
  ext4:ext4_error
  ext4:ext4_es_cache_extent
  ext4:ext4_es_find_delayed_extent_range_enter
  ext4:ext4_es_find_delayed_extent_range_exit
  ext4:ext4_es_insert_extent
  ext4:ext4_es_lookup_extent_enter
  ext4:ext4_es_lookup_extent_exit
  ext4:ext4_es_remove_extent
  ext4:ext4_es_shrink
  ext4:ext4_es_shrink_count
  ext4:ext4_es_shrink_scan_enter
  ext4:ext4_es_shrink_scan_exit
  ext4:ext4_evict_inode
  ext4:ext4_ext_convert_to_initialized_enter
  ext4:ext4_ext_convert_to_initialized_fastpath
  ext4:ext4_ext_handle_unwritten_extents
  ext4:ext4_ext_in_cache
  ext4:ext4_ext_load_extent
  ext4:ext4_ext_map_blocks_enter
  ext4:ext4_ext_map_blocks_exit
  ext4:ext4_ext_put_in_cache
  ext4:ext4_ext_remove_space
  ext4:ext4_ext_remove_space_done
  ext4:ext4_ext_rm_idx
  ext4:ext4_ext_rm_leaf
  ext4:ext4_ext_show_extent
  ext4:ext4_fallocate_enter
  ext4:ext4_fallocate_exit
  ext4:ext4_find_delalloc_range
  ext4:ext4_forget
  ext4:ext4_free_blocks
  ext4:ext4_free_inode
  ext4:ext4_fsmap_high_key
  ext4:ext4_fsmap_low_key
  ext4:ext4_fsmap_mapping
  ext4:ext4_get_implied_cluster_alloc_exit
  ext4:ext4_get_reserved_cluster_alloc
  ext4:ext4_getfsmap_high_key
  ext4:ext4_getfsmap_low_key
  ext4:ext4_getfsmap_mapping
  ext4:ext4_ind_map_blocks_enter
  ext4:ext4_ind_map_blocks_exit
  ext4:ext4_insert_range
  ext4:ext4_invalidatepage
  ext4:ext4_journal_start
  ext4:ext4_journal_start_reserved
  ext4:ext4_journalled_invalidatepage
  ext4:ext4_journalled_write_end
  ext4:ext4_load_inode
  ext4:ext4_load_inode_bitmap
  ext4:ext4_mark_inode_dirty
  ext4:ext4_mb_bitmap_load
  ext4:ext4_mb_buddy_bitmap_load
  ext4:ext4_mb_discard_preallocations
  ext4:ext4_mb_new_group_pa
  ext4:ext4_mb_new_inode_pa
  ext4:ext4_mb_release_group_pa
  ext4:ext4_mb_release_inode_pa
  ext4:ext4_mballoc_alloc
  ext4:ext4_mballoc_discard
  ext4:ext4_mballoc_free
  ext4:ext4_mballoc_prealloc
  ext4:ext4_nfs_commit_metadata
  ext4:ext4_other_inode_update_time
  ext4:ext4_punch_hole
  ext4:ext4_read_block_bitmap_load
  ext4:ext4_readpage
  ext4:ext4_releasepage
  ext4:ext4_remove_blocks
  ext4:ext4_request_blocks
  ext4:ext4_request_inode
  ext4:ext4_shutdown
  ext4:ext4_sync_file_enter
  ext4:ext4_sync_file_exit
  ext4:ext4_sync_fs
  ext4:ext4_trim_all_free
  ext4:ext4_trim_extent
  ext4:ext4_truncate_enter
  ext4:ext4_truncate_exit
  ext4:ext4_unlink_enter
  ext4:ext4_unlink_exit
  ext4:ext4_write_begin
  ext4:ext4_write_end
  ext4:ext4_writepage
  ext4:ext4_writepages
  ext4:ext4_writepages_result
  ext4:ext4_zero_range
  f2fs:f2fs_background_gc
  f2fs:f2fs_commit_inmem_page
  f2fs:f2fs_destroy_extent_tree
  f2fs:f2fs_direct_IO_enter
  f2fs:f2fs_direct_IO_exit
  f2fs:f2fs_do_write_data_page
  f2fs:f2fs_drop_inode
  f2fs:f2fs_evict_inode
  f2fs:f2fs_fallocate
  f2fs:f2fs_file_write_iter
  f2fs:f2fs_filemap_fault
  f2fs:f2fs_gc_begin
  f2fs:f2fs_gc_end
  f2fs:f2fs_get_victim
  f2fs:f2fs_iget
  f2fs:f2fs_iget_exit
  f2fs:f2fs_issue_discard
  f2fs:f2fs_issue_flush
  f2fs:f2fs_issue_reset_zone
  f2fs:f2fs_lookup_end
  f2fs:f2fs_lookup_extent_tree_end
  f2fs:f2fs_lookup_extent_tree_start
  f2fs:f2fs_lookup_start
  f2fs:f2fs_map_blocks
  f2fs:f2fs_new_inode
  f2fs:f2fs_prepare_read_bio
  f2fs:f2fs_prepare_write_bio
  f2fs:f2fs_queue_discard
  f2fs:f2fs_readdir
  f2fs:f2fs_readpage
  f2fs:f2fs_readpages
  f2fs:f2fs_register_inmem_page
  f2fs:f2fs_remove_discard
  f2fs:f2fs_reserve_new_blocks
  f2fs:f2fs_set_page_dirty
  f2fs:f2fs_shrink_extent_tree
  f2fs:f2fs_shutdown
  f2fs:f2fs_submit_page_bio
  f2fs:f2fs_submit_page_write
  f2fs:f2fs_submit_read_bio
  f2fs:f2fs_submit_write_bio
  f2fs:f2fs_sync_dirty_inodes_enter
  f2fs:f2fs_sync_dirty_inodes_exit
  f2fs:f2fs_sync_file_enter
  f2fs:f2fs_sync_file_exit
  f2fs:f2fs_sync_fs
  f2fs:f2fs_truncate
  f2fs:f2fs_truncate_blocks_enter
  f2fs:f2fs_truncate_blocks_exit
  f2fs:f2fs_truncate_data_blocks_range
  f2fs:f2fs_truncate_inode_blocks_enter
  f2fs:f2fs_truncate_inode_blocks_exit
  f2fs:f2fs_truncate_node
  f2fs:f2fs_truncate_nodes_enter
  f2fs:f2fs_truncate_nodes_exit
  f2fs:f2fs_truncate_partial_nodes
  f2fs:f2fs_unlink_enter
  f2fs:f2fs_unlink_exit
  f2fs:f2fs_update_extent_tree_range
  f2fs:f2fs_vm_page_mkwrite
  f2fs:f2fs_write_begin
  f2fs:f2fs_write_checkpoint
  f2fs:f2fs_write_end
  f2fs:f2fs_writepage
  f2fs:f2fs_writepages
  fastrpc:fastrpc_context_alloc
  fastrpc:fastrpc_context_complete
  fastrpc:fastrpc_context_free
  fastrpc:fastrpc_context_interrupt
  fastrpc:fastrpc_context_restore
  fastrpc:fastrpc_dma_alloc
  fastrpc:fastrpc_dma_free
  fastrpc:fastrpc_dma_map
  fastrpc:fastrpc_dma_unmap
  fastrpc:fastrpc_rpmsg_response
  fastrpc:fastrpc_rpmsg_send
  fib6:fib6_table_lookup
  fib:fib_table_lookup
  filelock:break_lease_block
  filelock:break_lease_noblock
  filelock:break_lease_unblock
  filelock:fcntl_setlk
  filelock:flock_lock_inode
  filelock:generic_add_lease
  filelock:generic_delete_lease
  filelock:locks_get_lock_context
  filelock:locks_remove_posix
  filelock:posix_lock_inode
  filelock:time_out_leases
  filemap:file_check_and_advance_wb_err
  filemap:filemap_set_wb_err
  filemap:mm_filemap_add_to_page_cache
  filemap:mm_filemap_delete_from_page_cache
  ftrace:print
  gadget:usb_ep_alloc_request
  gadget:usb_ep_clear_halt
  gadget:usb_ep_dequeue
  gadget:usb_ep_disable
  gadget:usb_ep_enable
  gadget:usb_ep_fifo_flush
  gadget:usb_ep_fifo_status
  gadget:usb_ep_free_request
  gadget:usb_ep_queue
  gadget:usb_ep_set_halt
  gadget:usb_ep_set_maxpacket_limit
  gadget:usb_ep_set_wedge
  gadget:usb_gadget_activate
  gadget:usb_gadget_clear_selfpowered
  gadget:usb_gadget_connect
  gadget:usb_gadget_deactivate
  gadget:usb_gadget_disconnect
  gadget:usb_gadget_frame_number
  gadget:usb_gadget_giveback_request
  gadget:usb_gadget_set_selfpowered
  gadget:usb_gadget_vbus_connect
  gadget:usb_gadget_vbus_disconnect
  gadget:usb_gadget_vbus_draw
  gadget:usb_gadget_wakeup
  gpio:gpio_direction
  gpio:gpio_value
  hid:qvr_recv_sensor
  i2c:i2c_read
  i2c:i2c_reply
  i2c:i2c_result
  i2c:i2c_write
  initcall:initcall_finish
  initcall:initcall_level
  initcall:initcall_start
  iommu:add_device_to_group
  iommu:attach_device_to_domain
  iommu:detach_device_from_domain
  iommu:io_page_fault
  iommu:map
  iommu:map_sg
  iommu:remove_device_from_group
  iommu:smmu_init
  iommu:tlbi_end
  iommu:tlbi_start
  iommu:tlbsync_timeout
  iommu:unmap
  ion:ion_begin_cpu_access_cmo_apply
  ion:ion_begin_cpu_access_cmo_skip
  ion:ion_begin_cpu_access_notmapped
  ion:ion_dma_map_cmo_apply
  ion:ion_dma_map_cmo_skip
  ion:ion_dma_unmap_cmo_apply
  ion:ion_dma_unmap_cmo_skip
  ion:ion_end_cpu_access_cmo_apply
  ion:ion_end_cpu_access_cmo_skip
  ion:ion_end_cpu_access_notmapped
  ipa:idle_sleep_enter3
  ipa:idle_sleep_exit3
  ipa:intr_to_poll3
  ipa:ipa3_rx_poll_cnt
  ipa:ipa3_rx_poll_num
  ipa:poll_to_intr3
  ipa:rmnet_ipa_netif_rcv_skb3
  ipa:rmnet_ipa_netifni3
  ipa:rmnet_ipa_netifrx3
  ipi:ipi_entry
  ipi:ipi_exit
  ipi:ipi_raise
  irq:irq_handler_entry
  irq:irq_handler_exit
  irq:softirq_entry
  irq:softirq_exit
  irq:softirq_raise
  irq:tasklet_entry
  irq:tasklet_exit
  irq:tasklet_hi_entry
  irq:tasklet_hi_exit
  jbd2:jbd2_checkpoint
  jbd2:jbd2_checkpoint_stats
  jbd2:jbd2_commit_flushing
  jbd2:jbd2_commit_locking
  jbd2:jbd2_commit_logging
  jbd2:jbd2_drop_transaction
  jbd2:jbd2_end_commit
  jbd2:jbd2_handle_extend
  jbd2:jbd2_handle_start
  jbd2:jbd2_handle_stats
  jbd2:jbd2_lock_buffer_stall
  jbd2:jbd2_run_stats
  jbd2:jbd2_start_commit
  jbd2:jbd2_submit_inode_data
  jbd2:jbd2_update_log_tail
  jbd2:jbd2_write_superblock
  kgsl:adreno_cmdbatch_fault
  kgsl:adreno_cmdbatch_queued
  kgsl:adreno_cmdbatch_recovery
  kgsl:adreno_cmdbatch_retired
  kgsl:adreno_cmdbatch_submitted
  kgsl:adreno_cmdbatch_sync
  kgsl:adreno_drawctxt_invalidate
  kgsl:adreno_drawctxt_sleep
  kgsl:adreno_drawctxt_switch
  kgsl:adreno_drawctxt_wait_done
  kgsl:adreno_drawctxt_wait_start
  kgsl:adreno_drawctxt_wake
  kgsl:adreno_gpu_fault
  kgsl:adreno_hw_preempt_clear_to_trig
  kgsl:adreno_hw_preempt_comp_to_clear
  kgsl:adreno_hw_preempt_token_submit
  kgsl:adreno_hw_preempt_trig_to_comp
  kgsl:adreno_hw_preempt_trig_to_comp_int
  kgsl:adreno_ifpc_count
  kgsl:adreno_preempt_done
  kgsl:adreno_preempt_trigger
  kgsl:adreno_sp_tp
  kgsl:dispatch_queue_context
  kgsl:kgsl_a3xx_irq_status
  kgsl:kgsl_a5xx_irq_status
  kgsl:kgsl_active_count
  kgsl:kgsl_bus
  kgsl:kgsl_buslevel
  kgsl:kgsl_clk
  kgsl:kgsl_clock_throttling
  kgsl:kgsl_constraint
  kgsl:kgsl_context_create
  kgsl:kgsl_context_destroy
  kgsl:kgsl_context_detach
  kgsl:kgsl_fire_event
  kgsl:kgsl_gmu_oob_clear
  kgsl:kgsl_gmu_oob_set
  kgsl:kgsl_gpubusy
  kgsl:kgsl_hfi_receive
  kgsl:kgsl_hfi_send
  kgsl:kgsl_irq
  kgsl:kgsl_issueibcmds
  kgsl:kgsl_mem_alloc
  kgsl:kgsl_mem_free
  kgsl:kgsl_mem_map
  kgsl:kgsl_mem_mmap
  kgsl:kgsl_mem_sync_cache
  kgsl:kgsl_mem_sync_full_cache
  kgsl:kgsl_mem_timestamp_free
  kgsl:kgsl_mem_timestamp_queue
  kgsl:kgsl_mem_unmapped_area_collision
  kgsl:kgsl_mmu_pagefault
  kgsl:kgsl_msg
  kgsl:kgsl_opp_notify
  kgsl:kgsl_pagetable_destroy
  kgsl:kgsl_popp_level
  kgsl:kgsl_popp_mod
  kgsl:kgsl_popp_nap
  kgsl:kgsl_pwr_request_state
  kgsl:kgsl_pwr_set_state
  kgsl:kgsl_pwrlevel
  kgsl:kgsl_pwrstats
  kgsl:kgsl_rail
  kgsl:kgsl_readtimestamp
  kgsl:kgsl_register_event
  kgsl:kgsl_regwrite
  kgsl:kgsl_user_pwrlevel_constraint
  kgsl:kgsl_waittimestamp_entry
  kgsl:kgsl_waittimestamp_exit
  kgsl:sparse_bind
  kgsl:sparse_phys_alloc
  kgsl:sparse_phys_free
  kgsl:sparse_unbind
  kgsl:sparse_virt_alloc
  kgsl:sparse_virt_free
  kgsl:syncpoint_fence
  kgsl:syncpoint_fence_expire
  kgsl:syncpoint_timestamp
  kgsl:syncpoint_timestamp_expire
  kmem:alloc_pages_iommu_end
  kmem:alloc_pages_iommu_fail
  kmem:alloc_pages_iommu_start
  kmem:alloc_pages_sys_end
  kmem:alloc_pages_sys_fail
  kmem:alloc_pages_sys_start
  kmem:dma_alloc_contiguous_retry
  kmem:iommu_map_range
  kmem:iommu_sec_ptbl_map_range_end
  kmem:iommu_sec_ptbl_map_range_start
  kmem:ion_alloc_buffer_end
  kmem:ion_alloc_buffer_fail
  kmem:ion_alloc_buffer_fallback
  kmem:ion_alloc_buffer_start
  kmem:ion_cp_alloc_retry
  kmem:ion_cp_secure_buffer_end
  kmem:ion_cp_secure_buffer_start
  kmem:ion_prefetching
  kmem:ion_secure_cma_add_to_pool_end
  kmem:ion_secure_cma_add_to_pool_start
  kmem:ion_secure_cma_allocate_end
  kmem:ion_secure_cma_allocate_start
  kmem:ion_secure_cma_shrink_pool_end
  kmem:ion_secure_cma_shrink_pool_start
  kmem:kfree
  kmem:kmalloc
  kmem:kmalloc_node
  kmem:kmem_cache_alloc
  kmem:kmem_cache_alloc_node
  kmem:kmem_cache_free
  kmem:migrate_pages_end
  kmem:migrate_pages_start
  kmem:migrate_retry
  kmem:mm_page_alloc
  kmem:mm_page_alloc_extfrag
  kmem:mm_page_alloc_zone_locked
  kmem:mm_page_free
  kmem:mm_page_free_batched
  kmem:mm_page_pcpu_drain
  lmh:lmh_dcvs_freq
  mdio:mdio_access
  mdss_pll:mdss_pll_lock_start
  mdss_pll:mdss_pll_trace_counter
  mdss_pll:pll_tracing_mark_write
  migrate:mm_migrate_pages
  migrate:mm_migrate_pages_start
  migrate:mm_numa_migrate_ratelimit
  mmc:mmc_adma_table_post
  mmc:mmc_adma_table_pre
  mmc:mmc_clk
  mmc:mmc_cmd_rw_end
  mmc:mmc_cmd_rw_start
  mmc:mmc_data_rw_end
  mmc:mmc_request_done
  mmc:mmc_request_start
  mmc:mmc_resume
  mmc:mmc_runtime_resume
  mmc:mmc_runtime_suspend
  mmc:mmc_suspend
  mmc:sdhci_msm_resume
  mmc:sdhci_msm_runtime_resume
  mmc:sdhci_msm_runtime_suspend
  mmc:sdhci_msm_suspend
  module:module_free
  module:module_get
  module:module_load
  module:module_put
  module:module_request
  msm_bus:bus_agg_bw
  msm_bus:bus_avail_bw
  msm_bus:bus_bcm_client_status
  msm_bus:bus_bimc_config_limiter
  msm_bus:bus_bke_params
  msm_bus:bus_client_status
  msm_bus:bus_rules_matches
  msm_bus:bus_update_request
  msm_bus:bus_update_request_end
  msm_cvp_events:cvp_venus_hfi_var_done
  msm_cvp_events:msm_cvp_common_state_change
  msm_cvp_events:msm_cvp_perf_bus_vote
  msm_cvp_events:msm_cvp_perf_clock_scale
  msm_cvp_events:msm_cvp_smem_buffer_dma_op_end
  msm_cvp_events:msm_cvp_smem_buffer_dma_op_start
  msm_cvp_events:msm_cvp_smem_buffer_iommu_op_end
  msm_cvp_events:msm_cvp_smem_buffer_iommu_op_start
  msm_cvp_events:msm_v4l2_cvp_buffer_event_end
  msm_cvp_events:msm_v4l2_cvp_buffer_event_start
  msm_cvp_events:msm_v4l2_cvp_close_end
  msm_cvp_events:msm_v4l2_cvp_close_start
  msm_cvp_events:msm_v4l2_cvp_fw_load_end
  msm_cvp_events:msm_v4l2_cvp_fw_load_start
  msm_cvp_events:msm_v4l2_cvp_open_end
  msm_cvp_events:msm_v4l2_cvp_open_start
  msm_low_power:cluster_enter
  msm_low_power:cluster_exit
  msm_low_power:cluster_pred_hist
  msm_low_power:cluster_pred_select
  msm_low_power:cpu_idle_enter
  msm_low_power:cpu_idle_exit
  msm_low_power:cpu_power_select
  msm_low_power:cpu_pred_hist
  msm_low_power:cpu_pred_select
  msm_pil_event:pil_event
  msm_pil_event:pil_func
  msm_pil_event:pil_notif
  msm_vidc_events:msm_smem_buffer_dma_op_end
  msm_vidc_events:msm_smem_buffer_dma_op_start
  msm_vidc_events:msm_smem_buffer_iommu_op_end
  msm_vidc_events:msm_smem_buffer_iommu_op_start
  msm_vidc_events:msm_v4l2_vidc_buffer_counter
  msm_vidc_events:msm_v4l2_vidc_buffer_event_end
  msm_vidc_events:msm_v4l2_vidc_buffer_event_start
  msm_vidc_events:msm_v4l2_vidc_close_end
  msm_vidc_events:msm_v4l2_vidc_close_start
  msm_vidc_events:msm_v4l2_vidc_fw_load_end
  msm_vidc_events:msm_v4l2_vidc_fw_load_start
  msm_vidc_events:msm_v4l2_vidc_open_end
  msm_vidc_events:msm_v4l2_vidc_open_start
  msm_vidc_events:msm_vidc_common_state_change
  msm_vidc_events:msm_vidc_perf_bus_vote
  msm_vidc_events:msm_vidc_perf_clock_scale
  msm_vidc_events:msm_vidc_printf
  msm_vidc_events:venus_hfi_var_done
  napi:napi_poll
  net:napi_gro_frags_entry
  net:napi_gro_receive_entry
  net:net_dev_queue
  net:net_dev_start_xmit
  net:net_dev_xmit
  net:netif_receive_skb
  net:netif_receive_skb_entry
  net:netif_receive_skb_list_entry
  net:netif_rx
  net:netif_rx_entry
  net:netif_rx_ni_entry
  oom:compact_retry
  oom:finish_task_reaping
  oom:mark_victim
  oom:oom_score_adj_update
  oom:reclaim_retry_zone
  oom:skip_task_reaping
  oom:start_task_reaping
  oom:wake_reaper
  page_isolation:test_pages_isolated
  pagefault:spf_pmd_changed
  pagefault:spf_pte_lock
  pagefault:spf_vma_access
  pagefault:spf_vma_changed
  pagefault:spf_vma_noanon
  pagefault:spf_vma_notsup
  pagemap:mm_lru_activate
  pagemap:mm_lru_insertion
  percpu:percpu_alloc_percpu
  percpu:percpu_alloc_percpu_fail
  percpu:percpu_create_chunk
  percpu:percpu_destroy_chunk
  percpu:percpu_free_percpu
  perf_trace_counters:perf_trace_user
  perf_trace_counters:sched_switch_with_ctrs
  power:bw_hwmon_meas
  power:bw_hwmon_update
  power:cache_hwmon_meas
  power:cache_hwmon_update
  power:clock_disable
  power:clock_enable
  power:clock_set_rate
  power:cpu_frequency
  power:cpu_frequency_limits
  power:cpu_frequency_switch_end
  power:cpu_frequency_switch_start
  power:cpu_idle
  power:dev_pm_qos_add_request
  power:dev_pm_qos_remove_request
  power:dev_pm_qos_update_request
  power:device_pm_callback_end
  power:device_pm_callback_start
  power:memlat_dev_meas
  power:memlat_dev_update
  power:pm_qos_add_request
  power:pm_qos_remove_request
  power:pm_qos_update_flags
  power:pm_qos_update_request
  power:pm_qos_update_request_timeout
  power:pm_qos_update_target
  power:power_domain_target
  power:powernv_throttle
  power:pstate_sample
  power:sugov_next_freq
  power:sugov_util_update
  power:suspend_resume
  power:wakeup_source_activate
  power:wakeup_source_deactivate
  printk:console
  process_reclaim:process_reclaim
  process_reclaim:process_reclaim_eff
  psi:psi_event
  psi:psi_window_vmstat
  qdisc:qdisc_dequeue
  random:add_device_randomness
  random:add_disk_randomness
  random:add_input_randomness
  random:credit_entropy_bits
  random:debit_entropy
  random:extract_entropy
  random:extract_entropy_user
  random:get_random_bytes
  random:get_random_bytes_arch
  random:mix_pool_bytes
  random:mix_pool_bytes_nolock
  random:push_to_pool
  random:random_read
  random:urandom_read
  random:xfer_secondary_pool
  ras:aer_event
  ras:arm_event
  ras:mc_event
  ras:non_standard_event
  raw_syscalls:sys_enter
  raw_syscalls:sys_exit
  rcu:rcu_utilization
  regmap:regcache_drop_region
  regmap:regcache_sync
  regmap:regmap_async_complete_done
  regmap:regmap_async_complete_start
  regmap:regmap_async_io_complete
  regmap:regmap_async_write_start
  regmap:regmap_cache_bypass
  regmap:regmap_cache_only
  regmap:regmap_hw_read_done
  regmap:regmap_hw_read_start
  regmap:regmap_hw_write_done
  regmap:regmap_hw_write_start
  regmap:regmap_reg_read
  regmap:regmap_reg_read_cache
  regmap:regmap_reg_write
  regulator:regulator_disable
  regulator:regulator_disable_complete
  regulator:regulator_enable
  regulator:regulator_enable_complete
  regulator:regulator_enable_delay
  regulator:regulator_set_voltage
  regulator:regulator_set_voltage_complete
  rmnet:rmnet_err
  rmnet:rmnet_freq_boost
  rmnet:rmnet_freq_reset
  rmnet:rmnet_freq_update
  rmnet:rmnet_high
  rmnet:rmnet_low
  rmnet:rmnet_perf_err
  rmnet:rmnet_perf_high
  rmnet:rmnet_perf_low
  rmnet:rmnet_shs_err
  rmnet:rmnet_shs_high
  rmnet:rmnet_shs_low
  rmnet:rmnet_shs_wq_err
  rmnet:rmnet_shs_wq_high
  rmnet:rmnet_shs_wq_low
  rmnet:rmnet_xmit_skb
  rndis_ipa:rndis_netif_ni
  rndis_ipa:rndis_status_rcvd
  rndis_ipa:rndis_tx_dp
  rpm:rpm_idle
  rpm:rpm_resume
  rpm:rpm_return_int
  rpm:rpm_suspend
  rpmh:rpmh_send_msg
  rpmh:rpmh_tx_done
  rseq:rseq_ip_fixup
  rseq:rseq_update
  rtc:rtc_alarm_irq_enable
  rtc:rtc_irq_set_freq
  rtc:rtc_irq_set_state
  rtc:rtc_read_alarm
  rtc:rtc_read_offset
  rtc:rtc_read_time
  rtc:rtc_set_alarm
  rtc:rtc_set_offset
  rtc:rtc_set_time
  rtc:rtc_timer_dequeue
  rtc:rtc_timer_enqueue
  rtc:rtc_timer_fired
  sched:core_ctl_eval_need
  sched:core_ctl_notif_data
  sched:core_ctl_set_boost
  sched:core_ctl_set_busy
  sched:core_ctl_update_nr_need
  sched:sched_blocked_reason
  sched:sched_boost_cpu
  sched:sched_boost_task
  sched:sched_compute_energy
  sched:sched_cpu_util
  sched:sched_enq_deq_task
  sched:sched_find_best_target
  sched:sched_get_nr_running_avg
  sched:sched_get_task_cpu_cycles
  sched:sched_isolate
  sched:sched_kthread_stop
  sched:sched_kthread_stop_ret
  sched:sched_load_avg_cpu
  sched:sched_load_balance
  sched:sched_load_balance_nohz_kick
  sched:sched_load_balance_sg_stats
  sched:sched_load_balance_skip_tasks
  sched:sched_load_balance_stats
  sched:sched_load_cfs_rq
  sched:sched_load_rt_rq
  sched:sched_load_se
  sched:sched_load_tg
  sched:sched_load_to_gov
  sched:sched_migrate_task
  sched:sched_migration_update_sum
  sched:sched_move_numa
  sched:sched_overutilized
  sched:sched_pi_setprio
  sched:sched_process_exec
  sched:sched_process_exit
  sched:sched_process_fork
  sched:sched_process_free
  sched:sched_process_wait
  sched:sched_set_boost
  sched:sched_set_preferred_cluster
  sched:sched_stat_blocked
  sched:sched_stat_iowait
  sched:sched_stat_runtime
  sched:sched_stat_sleep
  sched:sched_stat_wait
  sched:sched_stick_numa
  sched:sched_swap_numa
  sched:sched_switch
  sched:sched_task_util
  sched:sched_tune_boostgroup_update
  sched:sched_tune_tasks_update
  sched:sched_update_history
  sched:sched_update_pred_demand
  sched:sched_update_task_ravg
  sched:sched_update_task_ravg_mini
  sched:sched_util_est_cpu
  sched:sched_util_est_task
  sched:sched_wait_task
  sched:sched_wake_idle_without_ipi
  sched:sched_wakeup
  sched:sched_wakeup_new
  sched:sched_waking
  scm:scm_call_end
  scm:scm_call_start
  scsi:scsi_dispatch_cmd_done
  scsi:scsi_dispatch_cmd_error
  scsi:scsi_dispatch_cmd_start
  scsi:scsi_dispatch_cmd_timeout
  scsi:scsi_eh_wakeup
  sctp:sctp_probe
  sctp:sctp_probe_path
  sde:sde_cmd_release_bw
  sde:sde_encoder_underrun
  sde:sde_evtlog
  sde:sde_perf_calc_crtc
  sde:sde_perf_crtc_update
  sde:sde_perf_set_ot
  sde:sde_perf_set_qos_luts
  sde:sde_perf_uidle_cntr
  sde:sde_perf_uidle_status
  sde:sde_perf_update_bus
  sde:tracing_mark_write
  sde_rotator:rot_bw_ao_as_context
  sde_rotator:rot_entry_commit
  sde_rotator:rot_entry_done
  sde_rotator:rot_entry_fence
  sde_rotator:rot_mark_write
  sde_rotator:rot_perf_prefill_calc
  sde_rotator:rot_perf_set_ot
  sde_rotator:rot_perf_set_panic_luts
  sde_rotator:rot_perf_set_qos_luts
  sde_rotator:rot_perf_set_wm_levels
  sde_rotator:rot_trace_counter
  sde_rotator:sde_rot_evtlog
  secure_buffer:hyp_assign_batch_end
  secure_buffer:hyp_assign_batch_start
  secure_buffer:hyp_assign_end
  secure_buffer:hyp_assign_info
  signal:signal_deliver
  signal:signal_generate
  skb:consume_skb
  skb:kfree_skb
  skb:print_skb_gso
  skb:skb_copy_datagram_iovec
  smbus:smbus_read
  smbus:smbus_reply
  smbus:smbus_result
  smbus:smbus_write
  sock:inet_sock_set_state
  sock:sock_exceed_buf_limit
  sock:sock_rcvqueue_full
  spi:spi_controller_busy
  spi:spi_controller_idle
  spi:spi_message_done
  spi:spi_message_start
  spi:spi_message_submit
  spi:spi_transfer_start
  spi:spi_transfer_stop
  spmi:spmi_cmd
  spmi:spmi_read_begin
  spmi:spmi_read_end
  spmi:spmi_write_begin
  spmi:spmi_write_end
  swiotlb:swiotlb_bounced
  task:task_newtask
  task:task_rename
  tcp:tcp_destroy_sock
  tcp:tcp_probe
  tcp:tcp_rcv_space_adjust
  tcp:tcp_receive_reset
  tcp:tcp_retransmit_skb
  tcp:tcp_retransmit_synack
  tcp:tcp_send_reset
  thermal:cdev_update
  thermal:cdev_update_start
  thermal:thermal_device_update
  thermal:thermal_handle_trip
  thermal:thermal_power_cpu_get_power
  thermal:thermal_power_cpu_limit
  thermal:thermal_power_devfreq_get_power
  thermal:thermal_power_devfreq_limit
  thermal:thermal_query_temp
  thermal:thermal_set_trip
  thermal:thermal_temperature
  thermal:thermal_zone_trip
  thermal_virtual:virtual_temperature
  timer:hrtimer_cancel
  timer:hrtimer_expire_entry
  timer:hrtimer_expire_exit
  timer:hrtimer_init
  timer:hrtimer_start
  timer:itimer_expire
  timer:itimer_state
  timer:tick_stop
  timer:timer_cancel
  timer:timer_expire_entry
  timer:timer_expire_exit
  timer:timer_init
  timer:timer_start
  udp:udp_fail_queue_rcv_skb
  udp:udpv4_fail_rcv_buf_errors
  udp:udpv6_fail_rcv_buf_errors
  ufs:ufshcd_auto_bkops_state
  ufs:ufshcd_clk_gating
  ufs:ufshcd_clk_scaling
  ufs:ufshcd_command
  ufs:ufshcd_hibern8_on_idle
  ufs:ufshcd_init
  ufs:ufshcd_profile_clk_gating
  ufs:ufshcd_profile_clk_scaling
  ufs:ufshcd_profile_hibern8
  ufs:ufshcd_runtime_resume
  ufs:ufshcd_runtime_suspend
  ufs:ufshcd_system_resume
  ufs:ufshcd_system_suspend
  ufs:ufshcd_upiu
  v4l2:v4l2_dqbuf
  v4l2:v4l2_qbuf
  v4l2:vb2_v4l2_buf_done
  v4l2:vb2_v4l2_buf_queue
  v4l2:vb2_v4l2_dqbuf
  v4l2:vb2_v4l2_qbuf
  vb2:vb2_buf_done
  vb2:vb2_buf_queue
  vb2:vb2_dqbuf
  vb2:vb2_qbuf
  vmscan:mm_shrink_slab_end
  vmscan:mm_shrink_slab_start
  vmscan:mm_vmscan_direct_reclaim_begin
  vmscan:mm_vmscan_direct_reclaim_end
  vmscan:mm_vmscan_inactive_list_is_low
  vmscan:mm_vmscan_kswapd_sleep
  vmscan:mm_vmscan_kswapd_wake
  vmscan:mm_vmscan_lru_isolate
  vmscan:mm_vmscan_lru_shrink_active
  vmscan:mm_vmscan_lru_shrink_inactive
  vmscan:mm_vmscan_memcg_reclaim_begin
  vmscan:mm_vmscan_memcg_reclaim_end
  vmscan:mm_vmscan_memcg_softlimit_reclaim_begin
  vmscan:mm_vmscan_memcg_softlimit_reclaim_end
  vmscan:mm_vmscan_wakeup_kswapd
  vmscan:mm_vmscan_writepage
  wda:wda_client_state_down
  wda:wda_client_state_up
  wda:wda_set_powersave_mode
  workqueue:workqueue_activate_work
  workqueue:workqueue_execute_end
  workqueue:workqueue_execute_start
  workqueue:workqueue_queue_work
  writeback:balance_dirty_pages
  writeback:bdi_dirty_ratelimit
  writeback:global_dirty_state
  writeback:sb_clear_inode_writeback
  writeback:sb_mark_inode_writeback
  writeback:wbc_writepage
  writeback:writeback_bdi_register
  writeback:writeback_congestion_wait
  writeback:writeback_dirty_inode
  writeback:writeback_dirty_inode_enqueue
  writeback:writeback_dirty_inode_start
  writeback:writeback_dirty_page
  writeback:writeback_exec
  writeback:writeback_lazytime
  writeback:writeback_lazytime_iput
  writeback:writeback_mark_inode_dirty
  writeback:writeback_pages_written
  writeback:writeback_queue
  writeback:writeback_queue_io
  writeback:writeback_sb_inodes_requeue
  writeback:writeback_single_inode
  writeback:writeback_single_inode_start
  writeback:writeback_start
  writeback:writeback_wait
  writeback:writeback_wait_iff_congested
  writeback:writeback_wake_background
  writeback:writeback_write_inode
  writeback:writeback_write_inode_start
  writeback:writeback_written
  xdp:xdp_cpumap_enqueue
  xdp:xdp_cpumap_kthread
  xdp:xdp_devmap_xmit
  xdp:xdp_exception
  xdp:xdp_redirect
  xdp:xdp_redirect_err
  xdp:xdp_redirect_map
  xdp:xdp_redirect_map_err
  xhci-hcd:xhci_address_ctx
  xhci-hcd:xhci_alloc_dev
  xhci-hcd:xhci_alloc_virt_device
  xhci-hcd:xhci_configure_endpoint
  xhci-hcd:xhci_dbc_alloc_request
  xhci-hcd:xhci_dbc_free_request
  xhci-hcd:xhci_dbc_gadget_ep_queue
  xhci-hcd:xhci_dbc_giveback_request
  xhci-hcd:xhci_dbc_handle_event
  xhci-hcd:xhci_dbc_handle_transfer
  xhci-hcd:xhci_dbc_queue_request
  xhci-hcd:xhci_dbg_address
  xhci-hcd:xhci_dbg_cancel_urb
  xhci-hcd:xhci_dbg_context_change
  xhci-hcd:xhci_dbg_init
  xhci-hcd:xhci_dbg_quirks
  xhci-hcd:xhci_dbg_reset_ep
  xhci-hcd:xhci_dbg_ring_expansion
  xhci-hcd:xhci_discover_or_reset_device
  xhci-hcd:xhci_free_dev
  xhci-hcd:xhci_free_virt_device
  xhci-hcd:xhci_get_port_status
  xhci-hcd:xhci_handle_cmd_addr_dev
  xhci-hcd:xhci_handle_cmd_config_ep
  xhci-hcd:xhci_handle_cmd_disable_slot
  xhci-hcd:xhci_handle_cmd_reset_dev
  xhci-hcd:xhci_handle_cmd_reset_ep
  xhci-hcd:xhci_handle_cmd_set_deq
  xhci-hcd:xhci_handle_cmd_set_deq_ep
  xhci-hcd:xhci_handle_cmd_stop_ep
  xhci-hcd:xhci_handle_command
  xhci-hcd:xhci_handle_event
  xhci-hcd:xhci_handle_port_status
  xhci-hcd:xhci_handle_transfer
  xhci-hcd:xhci_hub_status_data
  xhci-hcd:xhci_inc_deq
  xhci-hcd:xhci_inc_enq
  xhci-hcd:xhci_queue_trb
  xhci-hcd:xhci_ring_alloc
  xhci-hcd:xhci_ring_expansion
  xhci-hcd:xhci_ring_free
  xhci-hcd:xhci_setup_addressable_virt_device
  xhci-hcd:xhci_setup_device
  xhci-hcd:xhci_setup_device_slot
  xhci-hcd:xhci_stop_device
  xhci-hcd:xhci_urb_dequeue
  xhci-hcd:xhci_urb_enqueue
  xhci-hcd:xhci_urb_giveback

List of user-space samplers:
  inplace-sampler

```

用法举例

查看cache miss

simpleperf stat  -p 2054 -e cache-references,cache-references:u,cache-references:k,cache-misses,cache-misses:u,cache-misses:k,instructions,raw-mem-access,raw-l2-dcache-refill,raw-l2-dcache-wb,msm_pil_event:pil_event,cpu-cycles,msm_pil_event:pil_func

system-wide

刚刚的命令要指定pid,如果要看系统级的,就把-p # 改成-a

如果要查看线程级的,就改成-t tid

查看系统调用次数


 # simpleperf stat -a  -e raw_syscalls:sys_enter                                                                     
^CPerformance counter statistics:

  518,273  raw_syscalls:sys_enter   #   (100%)

Total test time: 4.293461 seconds.

重要的事件类型

内存访问

msm_bus:bus_agg_bw msm_bus:bus_avail_bw raw-mem-access raw-mem-access-rd raw-mem-access-wr raw-bus-access raw-bus-access-rd raw-bus-access-wr raw-bus-access-periph raw-bus-access-shared raw-bus-cycles armv8_pmuv3/mem_access arm_dsu_0/bus_access