Skip to content

Instantly share code, notes, and snippets.

@petejohanson
Created March 10, 2022 02:48
Show Gist options
  • Save petejohanson/0ebda64d15cd325b9a6642f76d93971e to your computer and use it in GitHub Desktop.
Save petejohanson/0ebda64d15cd325b9a6642f76d93971e to your computer and use it in GitHub Desktop.
-- west build: running target ram_report
[0/1] cd /home/peter/git/zmk/app/build/zl_ble && /usr/bin/python3.10 /home/peter/git/zmk/zephyr/scripts/footprint/size_report -k /home/peter/git/zmk/app/build/zl_ble/zephyr/zmk.elf -z /home/peter/git/zmk/zephyr -o /home/peter/git/zmk/app/build/zl_ble --workspace=/home/peter/git/zmk -d 99 ram
Path Size %
==============================================================================================================
Root 61166 100.00%
├── (hidden) 4751 7.77%
├── (no paths) 5014 8.20%
│ ├── CSWTCH.14 6 0.01%
│ ├── CSWTCH.17 6 0.01%
│ ├── CSWTCH.2465 6 0.01%
│ ├── CSWTCH.3609 3 0.00%
│ ├── CSWTCH.5 6 0.01%
│ ├── CSWTCH.5905 20 0.03%
│ ├── CSWTCH.6076 15 0.02%
│ ├── CSWTCH.6078 9 0.01%
│ ├── CSWTCH.6081 8 0.01%
│ ├── CSWTCH.7479 42 0.07%
│ ├── SystemCoreClock 4 0.01%
│ ├── __compound_literal.0 44 0.07%
│ ├── __compound_literal.1 18 0.03%
│ ├── __compound_literal.10 12 0.02%
│ ├── __compound_literal.11 12 0.02%
│ ├── __compound_literal.12 24 0.04%
│ ├── __compound_literal.13 12 0.02%
│ ├── __compound_literal.14 8 0.01%
│ ├── __compound_literal.15 68 0.11%
│ ├── __compound_literal.16 8 0.01%
│ ├── __compound_literal.17 8 0.01%
│ ├── __compound_literal.18 12 0.02%
│ ├── __compound_literal.19 12 0.02%
│ ├── __compound_literal.2 16 0.03%
│ ├── __compound_literal.20 8 0.01%
│ ├── __compound_literal.21 8 0.01%
│ ├── __compound_literal.22 68 0.11%
│ ├── __compound_literal.23 12 0.02%
│ ├── __compound_literal.24 8 0.01%
│ ├── __compound_literal.25 8 0.01%
│ ├── __compound_literal.26 12 0.02%
│ ├── __compound_literal.27 12 0.02%
│ ├── __compound_literal.28 4 0.01%
│ ├── __compound_literal.3 17 0.03%
│ ├── __compound_literal.4 32 0.05%
│ ├── __compound_literal.5 20 0.03%
│ ├── __compound_literal.6 16 0.03%
│ ├── __compound_literal.7 76 0.12%
│ ├── __compound_literal.8 24 0.04%
│ ├── __compound_literal.9 12 0.02%
│ ├── _kernel 40 0.07%
│ ├── _sw_isr_table 384 0.63%
│ ├── bt_auth 4 0.01%
│ ├── bt_dev 344 0.56%
│ ├── bt_recv_thread_id 4 0.01%
│ ├── cli.1 16 0.03%
│ ├── delay_machine_code.0 6 0.01%
│ ├── done.0 1 0.00%
│ ├── epin_bitpos.1 9 0.01%
│ ├── epin_endev.3 18 0.03%
│ ├── epout_bitpos.0 9 0.01%
│ ├── epout_endev.2 18 0.03%
│ ├── events.0 140 0.23%
│ ├── gpio_mcp23xxx_api_table 36 0.06%
│ ├── ident.1 1 0.00%
│ ├── init_first_run.0 1 0.00%
│ ├── k_sys_work_q 160 0.26%
│ ├── levels.0 20 0.03%
│ ├── link.0 48 0.08%
│ ├── link.1 8 0.01%
│ ├── link.10 8 0.01%
│ ├── link.2 24 0.04%
│ ├── link.3 16 0.03%
│ ├── link.4 24 0.04%
│ ├── link.5 16 0.03%
│ ├── link.6 16 0.03%
│ ├── m.10 16 0.03%
│ ├── m.11 16 0.03%
│ ├── m.6 16 0.03%
│ ├── m.7 16 0.03%
│ ├── m.8 16 0.03%
│ ├── m.9 16 0.03%
│ ├── mfy.1 80 0.13%
│ ├── mfy.11 16 0.03%
│ ├── mfy.3 32 0.05%
│ ├── mfy.4 16 0.03%
│ ├── mfy.5 32 0.05%
│ ├── mfy.6 16 0.03%
│ ├── mfy.7 32 0.05%
│ ├── mpu_config 8 0.01%
│ ├── net_buf_fixed_cb 12 0.02%
│ ├── on.2 4 0.01%
│ ├── ops.0 72 0.12%
│ ├── ops.1 36 0.06%
│ ├── p.2 32 0.05%
│ ├── power_config.1 1 0.00%
│ ├── pub_key_cb.0 8 0.01%
│ ├── queue_config.0 8 0.01%
│ ├── salt.2 16 0.03%
│ ├── settings_handlers 8 0.01%
│ ├── settings_load_srcs 8 0.01%
│ ├── settings_save_dst 4 0.01%
│ ├── sn.0 18 0.03%
│ ├── ticks_at_preempt.2 4 0.01%
│ ├── transitions.0 12 0.02%
│ ├── usbevt_config.0 4 0.01%
│ ├── wait_q.0 8 0.01%
│ ├── z_idle_threads 128 0.21%
│ ├── z_interrupt_stacks 2048 3.35%
│ ├── z_main_thread 128 0.21%
│ ├── zmk_event_zmk_activity_state_changed 4 0.01%
│ ├── zmk_event_zmk_battery_state_changed 4 0.01%
│ ├── zmk_event_zmk_ble_active_profile_changed 4 0.01%
│ ├── zmk_event_zmk_endpoint_selection_changed 4 0.01%
│ ├── zmk_event_zmk_keycode_state_changed 4 0.01%
│ ├── zmk_event_zmk_layer_state_changed 4 0.01%
│ ├── zmk_event_zmk_modifiers_state_changed 4 0.01%
│ ├── zmk_event_zmk_position_state_changed 4 0.01%
│ ├── zmk_event_zmk_sensor_event 4 0.01%
│ └── zmk_event_zmk_usb_conn_state_changed 4 0.01%
├── WORKSPACE 9757 15.95%
│ ├── app 8275 13.53%
│ │ ├── drivers 404 0.66%
│ │ │ └── kscan 404 0.66%
│ │ │ └── kscan_gpio_matrix.c 404 0.66%
│ │ │ ├── __devstate_dts_ord_10 4 0.01%
│ │ │ ├── kscan_matrix_api 12 0.02%
│ │ │ ├── kscan_matrix_cols_0 80 0.13%
│ │ │ ├── kscan_matrix_config_0 52 0.09%
│ │ │ ├── kscan_matrix_data_0 80 0.13%
│ │ │ ├── kscan_matrix_irqs_0 64 0.10%
│ │ │ ├── kscan_matrix_rows_0 32 0.05%
│ │ │ └── kscan_matrix_state_0 80 0.13%
│ │ ├── include 152 0.25%
│ │ │ └── zmk 152 0.25%
│ │ │ └── hid.h 152 0.25%
│ │ │ └── zmk_hid_report_desc 152 0.25%
│ │ └── src 7719 12.62%
│ │ ├── activity.c 97 0.16%
│ │ │ ├── activity_last_uptime 4 0.01%
│ │ │ ├── activity_state 1 0.00%
│ │ │ ├── activity_timer 56 0.09%
│ │ │ ├── activity_work 16 0.03%
│ │ │ ├── zmk_event_sub_activityzmk_position_state_changed 8 0.01%
│ │ │ ├── zmk_event_sub_activityzmk_sensor_event 8 0.01%
│ │ │ └── zmk_listener_activity 4 0.01%
│ │ ├── battery.c 77 0.13%
│ │ │ ├── battery 4 0.01%
│ │ │ ├── battery_timer 56 0.09%
│ │ │ ├── battery_work 16 0.03%
│ │ │ └── last_state_of_charge 1 0.00%
│ │ ├── behaviors 1336 2.18%
│ │ │ ├── behavior_bt.c 24 0.04%
│ │ │ │ ├── __devstate_dts_ord_39 4 0.01%
│ │ │ │ └── behavior_bt_driver_api 20 0.03%
│ │ │ ├── behavior_ext_power.c 24 0.04%
│ │ │ │ ├── __devstate_dts_ord_18 4 0.01%
│ │ │ │ └── behavior_ext_power_driver_api 20 0.03%
│ │ │ ├── behavior_hold_tap.c 1156 1.89%
│ │ │ │ ├── __devstate_dts_ord_30 4 0.01%
│ │ │ │ ├── __devstate_dts_ord_31 4 0.01%
│ │ │ │ ├── active_hold_taps 880 1.44%
│ │ │ │ ├── behavior_hold_tap_config_0 24 0.04%
│ │ │ │ ├── behavior_hold_tap_config_1 24 0.04%
│ │ │ │ ├── behavior_hold_tap_driver_api 20 0.03%
│ │ │ │ ├── captured_events 160 0.26%
│ │ │ │ ├── last_tapped 16 0.03%
│ │ │ │ ├── undecided_hold_tap 4 0.01%
│ │ │ │ ├── zmk_event_sub_behavior_hold_tapzmk_keycode_state_changed 8 0.01%
│ │ │ │ ├── zmk_event_sub_behavior_hold_tapzmk_position_state_changed 8 0.01%
│ │ │ │ └── zmk_listener_behavior_hold_tap 4 0.01%
│ │ │ ├── behavior_key_press.c 24 0.04%
│ │ │ │ ├── __devstate_dts_ord_29 4 0.01%
│ │ │ │ └── behavior_key_press_driver_api 20 0.03%
│ │ │ ├── behavior_momentary_layer.c 24 0.04%
│ │ │ │ ├── __devstate_dts_ord_23 4 0.01%
│ │ │ │ └── behavior_mo_driver_api 20 0.03%
│ │ │ ├── behavior_none.c 24 0.04%
│ │ │ │ ├── __devstate_dts_ord_33 4 0.01%
│ │ │ │ └── behavior_none_driver_api 20 0.03%
│ │ │ ├── behavior_reset.c 36 0.06%
│ │ │ │ ├── __devstate_dts_ord_19 4 0.01%
│ │ │ │ ├── __devstate_dts_ord_20 4 0.01%
│ │ │ │ ├── behavior_reset_config_0 4 0.01%
│ │ │ │ ├── behavior_reset_config_1 4 0.01%
│ │ │ │ └── behavior_reset_driver_api 20 0.03%
│ │ │ └── behavior_transparent.c 24 0.04%
│ │ │ ├── __devstate_dts_ord_34 4 0.01%
│ │ │ └── behavior_transparent_driver_api 20 0.03%
│ │ ├── ble.c 316 0.52%
│ │ │ ├── active_profile 1 0.00%
│ │ │ ├── advertising_status 1 0.00%
│ │ │ ├── ble_save_work 48 0.08%
│ │ │ ├── conn_callbacks 28 0.05%
│ │ │ ├── profiles 110 0.18%
│ │ │ ├── profiles_handler 24 0.04%
│ │ │ ├── raise_profile_changed_event_work 16 0.03%
│ │ │ ├── update_advertising_work 16 0.03%
│ │ │ ├── zmk_ble_ad 32 0.05%
│ │ │ └── zmk_ble_auth_cb_display 40 0.07%
│ │ ├── combo.c 1030 1.68%
│ │ │ ├── active_combo_count 4 0.01%
│ │ │ ├── active_combos 80 0.13%
│ │ │ ├── candidates 80 0.13%
│ │ │ ├── combo_config_DT_N_S_combos_S_fn_mo 49 0.08%
│ │ │ ├── combo_config_DT_N_S_combos_S_media_mo 49 0.08%
│ │ │ ├── combo_lookup 680 1.11%
│ │ │ ├── fully_pressed_combo 4 0.01%
│ │ │ ├── pressed_keys 16 0.03%
│ │ │ ├── timeout_task 48 0.08%
│ │ │ ├── timeout_task_timeout_at 8 0.01%
│ │ │ ├── zmk_event_sub_combozmk_position_state_changed 8 0.01%
│ │ │ └── zmk_listener_combo 4 0.01%
│ │ ├── endpoints.c 94 0.15%
│ │ │ ├── current_endpoint 1 0.00%
│ │ │ ├── endpoints_handler 24 0.04%
│ │ │ ├── endpoints_save_work 48 0.08%
│ │ │ ├── preferred_endpoint 1 0.00%
│ │ │ ├── zmk_event_sub_endpoint_listenerzmk_ble_active_profile_changed 8 0.01%
│ │ │ ├── zmk_event_sub_endpoint_listenerzmk_usb_conn_state_changed 8 0.01%
│ │ │ └── zmk_listener_endpoint_listener 4 0.01%
│ │ ├── events 40 0.07%
│ │ │ ├── activity_state_changed.c 4 0.01%
│ │ │ │ └── zmk_event_ref_zmk_activity_state_changed 4 0.01%
│ │ │ ├── battery_state_changed.c 4 0.01%
│ │ │ │ └── zmk_event_ref_zmk_battery_state_changed 4 0.01%
│ │ │ ├── ble_active_profile_changed.c 4 0.01%
│ │ │ │ └── zmk_event_ref_zmk_ble_active_profile_changed 4 0.01%
│ │ │ ├── endpoint_selection_changed.c 4 0.01%
│ │ │ │ └── zmk_event_ref_zmk_endpoint_selection_changed 4 0.01%
│ │ │ ├── keycode_state_changed.c 4 0.01%
│ │ │ │ └── zmk_event_ref_zmk_keycode_state_changed 4 0.01%
│ │ │ ├── layer_state_changed.c 4 0.01%
│ │ │ │ └── zmk_event_ref_zmk_layer_state_changed 4 0.01%
│ │ │ ├── modifiers_state_changed.c 4 0.01%
│ │ │ │ └── zmk_event_ref_zmk_modifiers_state_changed 4 0.01%
│ │ │ ├── position_state_changed.c 4 0.01%
│ │ │ │ └── zmk_event_ref_zmk_position_state_changed 4 0.01%
│ │ │ ├── sensor_event.c 4 0.01%
│ │ │ │ └── zmk_event_ref_zmk_sensor_event 4 0.01%
│ │ │ └── usb_conn_state_changed.c 4 0.01%
│ │ │ └── zmk_event_ref_zmk_usb_conn_state_changed 4 0.01%
│ │ ├── hid.c 55 0.09%
│ │ │ ├── consumer_report 13 0.02%
│ │ │ ├── explicit_modifier_counts 32 0.05%
│ │ │ ├── explicit_modifiers 1 0.00%
│ │ │ └── keyboard_report 9 0.01%
│ │ ├── hid_listener.c 12 0.02%
│ │ │ ├── zmk_event_sub_hid_listenerzmk_keycode_state_changed 8 0.01%
│ │ │ └── zmk_listener_hid_listener 4 0.01%
│ │ ├── hog.c 1329 2.17%
│ │ │ ├── _k_fifo_buf_zmk_hog_consumer_msgq 60 0.10%
│ │ │ ├── _k_fifo_buf_zmk_hog_keyboard_msgq 160 0.26%
│ │ │ ├── attr_hog_svc 300 0.49%
│ │ │ ├── consumer_input 2 0.00%
│ │ │ ├── ctrl_point 1 0.00%
│ │ │ ├── hog_consumer_work 16 0.03%
│ │ │ ├── hog_keyboard_work 16 0.03%
│ │ │ ├── hog_q_stack 512 0.84%
│ │ │ ├── hog_work_q 160 0.26%
│ │ │ ├── info 4 0.01%
│ │ │ ├── input 2 0.00%
│ │ │ ├── zmk_hog_consumer_msgq 48 0.08%
│ │ │ └── zmk_hog_keyboard_msgq 48 0.08%
│ │ ├── keymap.c 3008 4.92%
│ │ │ ├── _zmk_keymap_layer_state 4 0.01%
│ │ │ ├── zmk_event_sub_keymapzmk_position_state_changed 8 0.01%
│ │ │ ├── zmk_keymap 2856 4.67%
│ │ │ ├── zmk_keymap_active_behavior_layer 136 0.22%
│ │ │ └── zmk_listener_keymap 4 0.01%
│ │ ├── kscan.c 112 0.18%
│ │ │ ├── _k_fifo_buf_zmk_kscan_msgq 48 0.08%
│ │ │ ├── msg_processor 16 0.03%
│ │ │ └── zmk_kscan_msgq 48 0.08%
│ │ ├── matrix_transform.c 148 0.24%
│ │ │ └── transform 148 0.24%
│ │ └── usb.c 65 0.11%
│ │ ├── hid_dev 4 0.01%
│ │ ├── hid_sem 24 0.04%
│ │ ├── ops 20 0.03%
│ │ ├── usb_status 1 0.00%
│ │ └── usb_status_notifier_work 16 0.03%
│ └── modules 1482 2.42%
│ ├── crypto 612 1.00%
│ │ └── tinycrypt 612 1.00%
│ │ └── lib 612 1.00%
│ │ ├── include 352 0.58%
│ │ │ └── tinycrypt 352 0.58%
│ │ │ └── ecc.h 352 0.58%
│ │ │ └── curve_secp256r1 352 0.58%
│ │ └── source 260 0.43%
│ │ ├── aes_encrypt.c 256 0.42%
│ │ │ └── sbox 256 0.42%
│ │ └── ecc.c 4 0.01%
│ │ └── g_rng_function 4 0.01%
│ └── hal 870 1.42%
│ └── nordic 870 1.42%
│ └── nrfx 870 1.42%
│ └── drivers 870 1.42%
│ └── src 870 1.42%
│ ├── nrfx_clock.c 9 0.01%
│ │ ├── m_clock_cb 8 0.01%
│ │ └── nrfx_clock_irq_enabled 1 0.00%
│ ├── nrfx_gpiote.c 124 0.20%
│ │ └── m_cb 124 0.20%
│ ├── nrfx_power.c 13 0.02%
│ │ ├── m_pofwarn_handler 4 0.01%
│ │ ├── m_sleepevt_handler 4 0.01%
│ │ ├── m_usbevt_handler 4 0.01%
│ │ └── nrfx_power_irq_enabled 1 0.00%
│ ├── nrfx_spi.c 40 0.07%
│ │ └── m_cb 40 0.07%
│ └── nrfx_usbd.c 684 1.12%
│ ├── m_bus_suspend 1 0.00%
│ ├── m_dma_pending 1 0.00%
│ ├── m_drv_state 1 0.00%
│ ├── m_ep_consumer_state 108 0.18%
│ ├── m_ep_dma_waiting 4 0.01%
│ ├── m_ep_feeder_state 108 0.18%
│ ├── m_ep_ready 4 0.01%
│ ├── m_ep_state 288 0.47%
│ ├── m_event_handler 4 0.01%
│ ├── m_isr 100 0.16%
│ ├── m_last_setup_dir 1 0.00%
│ └── m_tx_buffer 64 0.10%
└── ZEPHYR_BASE 41644 68.08%
├── arch 13 0.02%
│ └── arm 13 0.02%
│ └── core 13 0.02%
│ └── aarch32 13 0.02%
│ └── mpu 13 0.02%
│ ├── arm_core_mpu.c 12 0.02%
│ │ └── static_regions 12 0.02%
│ └── arm_mpu.c 1 0.00%
│ └── static_regions_num 1 0.00%
├── drivers 4680 7.65%
│ ├── clock_control 128 0.21%
│ │ └── clock_control_nrf.c 128 0.21%
│ │ ├── __devstate_dts_ord_46 4 0.01%
│ │ ├── clock_control_api 24 0.04%
│ │ ├── config 16 0.03%
│ │ ├── data 80 0.13%
│ │ └── hfclk_users 4 0.01%
│ ├── entropy 96 0.16%
│ │ └── entropy_nrf5.c 96 0.16%
│ │ ├── __devstate_dts_ord_67 4 0.01%
│ │ ├── entropy_nrf5_api_funcs 8 0.01%
│ │ └── entropy_nrf5_data 84 0.14%
│ ├── gpio 192 0.31%
│ │ ├── gpio_mcp23sxx.c 92 0.15%
│ │ │ ├── __devstate_dts_ord_9 4 0.01%
│ │ │ ├── mcp23sxx_inst_config 36 0.06%
│ │ │ └── mcp23sxx_inst_drvdata 52 0.09%
│ │ └── gpio_nrfx.c 100 0.16%
│ │ ├── __devstate_dts_ord_5 4 0.01%
│ │ ├── __devstate_dts_ord_6 4 0.01%
│ │ ├── gpio_nrfx_drv_api_funcs 36 0.06%
│ │ ├── gpio_nrfx_p0_cfg 16 0.03%
│ │ ├── gpio_nrfx_p0_data 12 0.02%
│ │ ├── gpio_nrfx_p1_cfg 16 0.03%
│ │ └── gpio_nrfx_p1_data 12 0.02%
│ ├── spi 152 0.25%
│ │ └── spi_nrfx_spi.c 152 0.25%
│ │ ├── __devstate_dts_ord_8 4 0.01%
│ │ ├── spi_2_data 112 0.18%
│ │ ├── spi_2z_config 28 0.05%
│ │ └── spi_nrfx_driver_api 8 0.01%
│ ├── timer 44 0.07%
│ │ └── nrf_rtc_timer.c 44 0.07%
│ │ ├── anchor 8 0.01%
│ │ ├── cc_data 16 0.03%
│ │ ├── force_isr_mask 4 0.01%
│ │ ├── int_mask 4 0.01%
│ │ ├── last_count 8 0.01%
│ │ └── overflow_cnt 4 0.01%
│ └── usb 4068 6.65%
│ └── device 4068 6.65%
│ └── usb_dc_nrfx.c 4068 6.65%
│ ├── _k_mem_slab_buf_fifo_elem_slab 640 1.05%
│ ├── ep_isoout_bufs 1024 1.67%
│ ├── ep_out_bufs 512 0.84%
│ ├── fifo_elem_slab 28 0.05%
│ ├── usbd_ctx 656 1.07%
│ ├── usbd_evt_fifo 24 0.04%
│ ├── usbd_work_queue 160 0.26%
│ └── usbd_work_queue_stack 1024 1.67%
├── kernel 11649 19.04%
│ ├── errno.c 4 0.01%
│ │ └── _k_neg_eagain 4 0.01%
│ ├── init.c 1345 2.20%
│ │ ├── z_idle_stacks 320 0.52%
│ │ ├── z_main_stack 1024 1.67%
│ │ └── z_sys_post_kernel 1 0.00%
│ ├── mempool.c 8212 13.43%
│ │ ├── _system_heap 20 0.03%
│ │ └── kheap__system_heap 8192 13.39%
│ ├── sched.c 12 0.02%
│ │ ├── pending_current 4 0.01%
│ │ ├── slice_max_prio 4 0.01%
│ │ └── slice_time 4 0.01%
│ ├── system_work_q.c 2048 3.35%
│ │ └── sys_work_q_stack 2048 3.35%
│ ├── timeout.c 20 0.03%
│ │ ├── announce_remaining 4 0.01%
│ │ ├── curr_tick 8 0.01%
│ │ └── timeout_list 8 0.01%
│ └── work.c 8 0.01%
│ └── pending_cancels 8 0.01%
├── lib 4 0.01%
│ └── os 4 0.01%
│ └── printk.c 4 0.01%
│ └── _char_out 4 0.01%
├── soc 24 0.04%
│ └── arm 24 0.04%
│ └── common 24 0.04%
│ └── cortex_m 24 0.04%
│ └── arm_mpu_regions.c 24 0.04%
│ └── mpu_regions 24 0.04%
└── subsys 25274 41.32%
├── bluetooth 24469 40.00%
│ ├── controller 11598 18.96%
│ │ ├── hci 3002 4.91%
│ │ │ ├── hci.c 30 0.05%
│ │ │ │ ├── _opcode 2 0.00%
│ │ │ │ ├── conn_count 4 0.01%
│ │ │ │ ├── event_mask 8 0.01%
│ │ │ │ ├── event_mask_page_2 8 0.01%
│ │ │ │ └── le_event_mask 8 0.01%
│ │ │ └── hci_driver.c 2972 4.86%
│ │ │ ├── drv 20 0.03%
│ │ │ ├── prio_recv_thread_data 128 0.21%
│ │ │ ├── prio_recv_thread_stack 448 0.73%
│ │ │ ├── recv_fifo 24 0.04%
│ │ │ ├── recv_thread_data 128 0.21%
│ │ │ ├── recv_thread_stack 2200 3.60%
│ │ │ └── sem_prio_recv 24 0.04%
│ │ ├── ll_sw 8228 13.45%
│ │ │ ├── ll_addr.c 12 0.02%
│ │ │ │ ├── pub_addr 6 0.01%
│ │ │ │ └── rnd_addr 6 0.01%
│ │ │ ├── nordic 816 1.33%
│ │ │ │ ├── hal 549 0.90%
│ │ │ │ │ └── nrf5 549 0.90%
│ │ │ │ │ ├── cntr.c 1 0.00%
│ │ │ │ │ │ └── _refcount 1 0.00%
│ │ │ │ │ ├── radio 544 0.89%
│ │ │ │ │ │ └── radio.c 544 0.89%
│ │ │ │ │ │ ├── _aar_scratch 3 0.00%
│ │ │ │ │ │ ├── _ccm_scratch 267 0.44%
│ │ │ │ │ │ ├── _pkt_empty 3 0.00%
│ │ │ │ │ │ ├── _pkt_scratch 258 0.42%
│ │ │ │ │ │ ├── isr_cb 4 0.01%
│ │ │ │ │ │ ├── isr_cb_param 4 0.01%
│ │ │ │ │ │ ├── radio_tmr_aa 4 0.01%
│ │ │ │ │ │ └── sw_tifs_toggle 1 0.00%
│ │ │ │ │ └── ticker.c 4 0.01%
│ │ │ │ │ └── caller_id_lut 4 0.01%
│ │ │ │ └── lll 267 0.44%
│ │ │ │ ├── lll.c 22 0.04%
│ │ │ │ │ ├── dev_entropy 4 0.01%
│ │ │ │ │ ├── event 12 0.02%
│ │ │ │ │ ├── preempt_ack 1 0.00%
│ │ │ │ │ ├── preempt_req 1 0.00%
│ │ │ │ │ ├── preempt_start_ack 1 0.00%
│ │ │ │ │ ├── preempt_start_req 1 0.00%
│ │ │ │ │ ├── preempt_stop_ack 1 0.00%
│ │ │ │ │ └── preempt_stop_req 1 0.00%
│ │ │ │ ├── lll_adv.c 204 0.33%
│ │ │ │ │ ├── mem_pdu 164 0.27%
│ │ │ │ │ ├── mfifo_pdu_free 16 0.03%
│ │ │ │ │ └── sem_pdu_free 24 0.04%
│ │ │ │ ├── lll_clock.c 36 0.06%
│ │ │ │ │ ├── hf_refcnt 4 0.01%
│ │ │ │ │ ├── lf_cli 16 0.03%
│ │ │ │ │ └── sca_ppm_lut 16 0.03%
│ │ │ │ └── lll_conn.c 5 0.01%
│ │ │ │ ├── crc_expire 1 0.00%
│ │ │ │ ├── crc_valid 1 0.00%
│ │ │ │ ├── mic_state 1 0.00%
│ │ │ │ └── trx_cnt 2 0.00%
│ │ │ ├── ull.c 2628 4.30%
│ │ │ │ ├── mark_disable 4 0.01%
│ │ │ │ ├── mark_update 4 0.01%
│ │ │ │ ├── mem_done 216 0.35%
│ │ │ │ ├── mem_link_done 44 0.07%
│ │ │ │ ├── mem_link_rx 144 0.24%
│ │ │ │ ├── mem_pdu_rx 752 1.23%
│ │ │ │ ├── memq_ll_rx 8 0.01%
│ │ │ │ ├── memq_ull_done 8 0.01%
│ │ │ │ ├── memq_ull_rx 8 0.01%
│ │ │ │ ├── mfifo_done 24 0.04%
│ │ │ │ ├── mfifo_ll_pdu_rx_free 28 0.05%
│ │ │ │ ├── mfifo_pdu_rx_free 24 0.04%
│ │ │ │ ├── mfifo_prep 260 0.43%
│ │ │ │ ├── mfifo_tx_ack 36 0.06%
│ │ │ │ ├── sem_recv 4 0.01%
│ │ │ │ ├── sem_ticker_api_cb 24 0.04%
│ │ │ │ ├── ticker_nodes 384 0.63%
│ │ │ │ ├── ticker_user_ops 624 1.02%
│ │ │ │ └── ticker_users 32 0.05%
│ │ │ ├── ull_adv.c 132 0.22%
│ │ │ │ ├── ll_adv 120 0.20%
│ │ │ │ └── ll_adv_ticker_ext 12 0.02%
│ │ │ ├── ull_conn.c 3910 6.39%
│ │ │ │ ├── conn_free 4 0.01%
│ │ │ │ ├── conn_pool 2480 4.05%
│ │ │ │ ├── conn_upd_curr 4 0.01%
│ │ │ │ ├── default_phy_rx 1 0.00%
│ │ │ │ ├── default_phy_tx 1 0.00%
│ │ │ │ ├── default_tx_octets 2 0.00%
│ │ │ │ ├── default_tx_time 2 0.00%
│ │ │ │ ├── mem_conn_tx 112 0.18%
│ │ │ │ ├── mem_conn_tx_ctrl 884 1.45%
│ │ │ │ ├── mem_link_tx 188 0.31%
│ │ │ │ ├── mfifo_conn_ack 196 0.32%
│ │ │ │ └── mfifo_conn_tx 36 0.06%
│ │ │ └── ull_filter.c 730 1.19%
│ │ │ ├── fal 64 0.10%
│ │ │ ├── fal_filter 50 0.08%
│ │ │ ├── local_rpas 48 0.08%
│ │ │ ├── peer_irk_count 1 0.00%
│ │ │ ├── peer_irk_rl_ids 8 0.01%
│ │ │ ├── peer_irks 128 0.21%
│ │ │ ├── rl 320 0.52%
│ │ │ ├── rl_enable 1 0.00%
│ │ │ ├── rl_filter 50 0.08%
│ │ │ ├── rpa_last_ms 8 0.01%
│ │ │ ├── rpa_timeout_ms 4 0.01%
│ │ │ └── rpa_work 48 0.08%
│ │ ├── ticker 44 0.07%
│ │ │ └── ticker.c 44 0.07%
│ │ │ └── _instance 44 0.07%
│ │ └── util 324 0.53%
│ │ └── mayfly.c 324 0.53%
│ │ ├── mfl 128 0.21%
│ │ ├── mfp 4 0.01%
│ │ └── mft 192 0.31%
│ ├── host 12643 20.67%
│ │ ├── att.c 2160 3.53%
│ │ │ ├── _k_mem_slab_buf_att_slab 220 0.36%
│ │ │ ├── _k_mem_slab_buf_chan_slab 1640 2.68%
│ │ │ ├── _k_mem_slab_buf_req_slab 84 0.14%
│ │ │ ├── att_slab 28 0.05%
│ │ │ ├── cancel 28 0.05%
│ │ │ ├── chan_slab 28 0.05%
│ │ │ ├── handlers 104 0.17%
│ │ │ └── req_slab 28 0.05%
│ │ ├── buf.c 753 1.23%
│ │ │ ├── _net_buf_discardable_pool 84 0.14%
│ │ │ ├── _net_buf_hci_rx_pool 84 0.14%
│ │ │ ├── _net_buf_num_complete_pool 28 0.05%
│ │ │ ├── discardable_pool 44 0.07%
│ │ │ ├── hci_rx_pool 44 0.07%
│ │ │ ├── net_buf_data_discardable_pool 135 0.22%
│ │ │ ├── net_buf_data_hci_rx_pool 219 0.36%
│ │ │ ├── net_buf_data_num_complete_pool 23 0.04%
│ │ │ ├── net_buf_fixed_alloc_discardable_pool 8 0.01%
│ │ │ ├── net_buf_fixed_alloc_hci_rx_pool 8 0.01%
│ │ │ ├── net_buf_fixed_alloc_num_complete_pool 8 0.01%
│ │ │ ├── net_buf_fixed_discardable_pool 8 0.01%
│ │ │ ├── net_buf_fixed_hci_rx_pool 8 0.01%
│ │ │ ├── net_buf_fixed_num_complete_pool 8 0.01%
│ │ │ └── num_complete_pool 44 0.07%
│ │ ├── conn.c 1581 2.58%
│ │ │ ├── _net_buf_acl_tx_pool 72 0.12%
│ │ │ ├── _net_buf_frag_pool 56 0.09%
│ │ │ ├── acl_conns 960 1.57%
│ │ │ ├── acl_tx_pool 44 0.07%
│ │ │ ├── callback_list 4 0.01%
│ │ │ ├── conn_change 16 0.03%
│ │ │ ├── conn_tx 48 0.08%
│ │ │ ├── frag_pool 44 0.07%
│ │ │ ├── free_tx 24 0.04%
│ │ │ ├── net_buf_data_acl_tx_pool 219 0.36%
│ │ │ ├── net_buf_data_frag_pool 62 0.10%
│ │ │ ├── net_buf_fixed_acl_tx_pool 8 0.01%
│ │ │ ├── net_buf_fixed_alloc_acl_tx_pool 8 0.01%
│ │ │ ├── net_buf_fixed_alloc_frag_pool 8 0.01%
│ │ │ └── net_buf_fixed_frag_pool 8 0.01%
│ │ ├── ecc.c 140 0.23%
│ │ │ ├── debug_public_key 64 0.10%
│ │ │ ├── dh_key_cb 4 0.01%
│ │ │ ├── pub_key 64 0.10%
│ │ │ └── pub_key_cb_slist 8 0.01%
│ │ ├── gatt.c 1062 1.74%
│ │ │ ├── attr__1_gatt_svc 160 0.26%
│ │ │ ├── attr__2_gap_svc 140 0.23%
│ │ │ ├── callback_list 8 0.01%
│ │ │ ├── cf_cfg 160 0.26%
│ │ │ ├── db_hash 120 0.20%
│ │ │ ├── gatt_ccc_store 72 0.12%
│ │ │ ├── gatt_sc 88 0.14%
│ │ │ ├── init 4 0.01%
│ │ │ ├── last_static_handle 2 0.00%
│ │ │ ├── sc_ccc 64 0.10%
│ │ │ ├── sc_cfg 120 0.20%
│ │ │ ├── sc_restore_params 120 0.20%
│ │ │ └── service_init 4 0.01%
│ │ ├── hci_core.c 1230 2.01%
│ │ │ ├── _net_buf_hci_cmd_pool 56 0.09%
│ │ │ ├── cmd_data 24 0.04%
│ │ │ ├── disconnected_handles 10 0.02%
│ │ │ ├── hci_cmd_pool 44 0.07%
│ │ │ ├── meta_events 80 0.13%
│ │ │ ├── net_buf_data_hci_cmd_pool 140 0.23%
│ │ │ ├── net_buf_fixed_alloc_hci_cmd_pool 8 0.01%
│ │ │ ├── net_buf_fixed_hci_cmd_pool 8 0.01%
│ │ │ ├── normal_events 48 0.08%
│ │ │ ├── prio_events 40 0.07%
│ │ │ ├── ready_cb 4 0.01%
│ │ │ ├── tx_thread_data 128 0.21%
│ │ │ └── tx_thread_stack 640 1.05%
│ │ ├── hci_ecc.c 1428 2.33%
│ │ │ ├── cmd_sem 24 0.04%
│ │ │ ├── debug_private_key_be 32 0.05%
│ │ │ ├── ecc 96 0.16%
│ │ │ ├── ecc_thread_data 128 0.21%
│ │ │ ├── ecc_thread_stack 1144 1.87%
│ │ │ └── flags 4 0.01%
│ │ ├── keys.c 320 0.52%
│ │ │ └── key_pool 320 0.52%
│ │ ├── l2cap.c 1160 1.90%
│ │ │ └── bt_l2cap_pool 1160 1.90%
│ │ ├── settings.c 16 0.03%
│ │ │ └── save_id_work 16 0.03%
│ │ ├── smp.c 2776 4.54%
│ │ │ ├── bondable 1 0.00%
│ │ │ ├── bt_smp_pool 2600 4.25%
│ │ │ ├── gen_method_sc 25 0.04%
│ │ │ ├── handlers 120 0.20%
│ │ │ ├── oobd_present 1 0.00%
│ │ │ ├── sc_local_pkey_ready 24 0.04%
│ │ │ ├── sc_public_key 4 0.01%
│ │ │ └── sc_supported 1 0.00%
│ │ └── uuid.c 17 0.03%
│ │ └── uuid128_base 17 0.03%
│ └── services 228 0.37%
│ ├── bas.c 81 0.13%
│ │ ├── attr_bas 80 0.13%
│ │ └── battery_level 1 0.00%
│ └── dis.c 147 0.24%
│ ├── attr_dis_svc 140 0.23%
│ └── dis_pnp_id 7 0.01%
├── pm 56 0.09%
│ ├── constraint.c 28 0.05%
│ │ └── power_state_disable_count 28 0.05%
│ └── pm.c 28 0.05%
│ ├── pm_notifiers 8 0.01%
│ ├── z_cpus_pm_state 12 0.02%
│ ├── z_cpus_pm_state_forced 4 0.01%
│ └── z_post_ops_required 4 0.01%
├── settings 21 0.03%
│ └── src 21 0.03%
│ ├── settings.c 20 0.03%
│ │ └── settings_lock 20 0.03%
│ └── settings_init.c 1 0.00%
│ └── settings_subsys_initialized 1 0.00%
└── usb 728 1.19%
├── class 109 0.18%
│ └── hid 109 0.18%
│ └── core.c 109 0.18%
│ ├── __devstate_usb_hid_device_0 4 0.01%
│ ├── hid_api 4 0.01%
│ ├── hid_cfg_0 25 0.04%
│ ├── hid_config_0 36 0.06%
│ ├── hid_ep_data_0 8 0.01%
│ ├── usb_hid_dev_data_0 24 0.04%
│ └── usb_hid_devlist 8 0.01%
├── usb_descriptor.c 115 0.19%
│ ├── common_desc 27 0.04%
│ ├── string_descr 86 0.14%
│ └── term_descr 2 0.00%
├── usb_device.c 216 0.35%
│ ├── usb_dev 196 0.32%
│ └── usb_enable_lock 20 0.03%
└── usb_transfer.c 288 0.47%
└── ut_data 288 0.47%
==============================================================================================================
61166
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment