Skip to content
Snippets Groups Projects
  1. Mar 25, 2025
    • Alistair Delva's avatar
      ANDROID: suppress IOMMU_IO_PGTABLE_LPAE on 32-bit · 25e74c53
      Alistair Delva authored
      
      Originally init/Kconfig.gki was just excluded on 32-bit, which works
      fine for allmodconfig builds, but breaks downstream boards trying to
      build specific drivers modularly (in a 'mixed tree' configuration)
      for 32-bit ARM with Kleaf. Replace the workaround with a new one.
      
      Bug: 379954362
      Signed-off-by: default avatarAlistair Delva <adelva@google.com>
      Change-Id: Ia67da020f561fdc43e73a68984ca882bbe0d3082
      25e74c53
    • Alistair Delva's avatar
      Revert "ANDROID: suppress GKI configs for 32-bit builds" · 8b9a7940
      Alistair Delva authored
      
      This reverts commit f896efaa.
      
      Broke building 32-bit ARM kernels with kbuild 'mixed tree' support
      in Kleaf. A different workaround will be used instead.
      
      Bug: 379954362
      Signed-off-by: default avatarAlistair Delva <adelva@google.com>
      Change-Id: Ieef7a18de0eb89a76382d23e1bd14d1105e7bb08
      8b9a7940
    • Dezhen Wang's avatar
      ANDROID: ABI: update symbol list for amlogic · a43aed26
      Dezhen Wang authored
      
      1 function symbol(s) added
        'int regulator_is_enabled(struct regulator *regulator)'
      
      Bug: 405055772
      Change-Id: I3971891abb4864786072915fb514863460f8afa4
      Signed-off-by: default avatarDezhen Wang <dezhen.wang@amlogic.com>
      a43aed26
    • Viktor Martensson's avatar
      ANDROID: Add kernel_aarch64_tv as a target · 2ea6e962
      Viktor Martensson authored
      
      Add kernel_aarch64_tv as a target and the fragment
      needed to configure it.
      
      Test: TH
      Bug: 401254795
      Change-Id: I09b2b885f13c0c6bf307bba130a428ab4aeba6c2
      Signed-off-by: default avatarViktor Martensson <vmartensson@google.com>
      2ea6e962
    • xiaosa liang's avatar
      ANDROID: GKI: Update symbols to symbol list · 1748b006
      xiaosa liang authored
      
      Add symbol list for oplus in gki/aarch64/symbols/oplus
      
      1 function symbol(s) added
        'int __traceiter_android_vh_binder_check_special_work(void*, struct binder_proc*, struct list_head**)'
      
      1 variable symbol(s) added
        'struct tracepoint __tracepoint_android_vh_binder_check_special_work'
      
      Bug: 395737475
      
      Change-Id: I1d459d7c1dc4cc5e3e595db13be3d783d4c2abc4
      Signed-off-by: default avatarxiaosa liang <liangxiaosa@oppo.com>
      1748b006
    • wuhaicheng's avatar
      ANDROID: GKI: Add KMI symbol list for oplus · 655b5383
      wuhaicheng authored
      
      step 2: Add symbol list for oplus in gki/aarch64/symbols/oplus
      1 function symbol(s) added
        'void __qdisc_calculate_pkt_len(struct sk_buff*, const struct qdisc_size_table*)'
      
      Bug: 405507841
      Change-Id: Ia2247b605c20f7d70236627dbd9863d5bec6ab25
      Signed-off-by: default avatarwuhaicheng <wuhaicheng@oppo.com>
      655b5383
    • xieliujie's avatar
      ANDROID: ABI: Update oplus symbol list · 1abbad61
      xieliujie authored
      
      1 function symbol(s) added
        'int __traceiter_android_vh_tick_nohz_idle_stop_tick(void*, void*)'
      
      1 variable symbol(s) added
        'struct tracepoint __tracepoint_android_vh_tick_nohz_idle_stop_tick'
      
      Bug: 333160399
      Change-Id: I9b3e19d1aab32f94b5bad8ebfad7319cea1291ea
      Signed-off-by: default avatarxieliujie <xieliujie@oppo.com>
      1abbad61
    • zhouxuewen's avatar
      ANDROID: vendor_hooks: add hook tick_nohz_idle_stop_tick · 48054104
      zhouxuewen authored
      
      This hook will allow to stop extra timers that is created during scheduler_tick.
      The background is described as follows:
      1) In some cases, we find the 4ms tick is not enough for task scheduling so we
      will start a new timer in scheduler_tick to do extra task scheduling.
      The hook in scheduler_tick already exists but when cpus enter idle, the timer
      needs to be stopped for saving power (same logic as nohz idle).
      2) We can get about 7% power saving without hurting the performance in certain
      use case after enabled this feature.
      3) Actually we are considering to upstream it to mainline kernel but it can
      takes time to get really merged. An initial submit is preferred to get the
      community noticed the potential optimized point.
      
      Bug: 333160399
      Change-Id: Ie97599ef562def39e13716adfc7cddef14b72075
      Signed-off-by: default avatarzhouxuewen <zhouxuewen@oppo.com>
      48054104
    • wengle's avatar
      ANDROID: GKI: Update symbols to symbol list · 0d04e7e6
      wengle authored
      
      Add symbol list for oplus in gki/aarch64/symbols/oplus
      1 function symbol(s) added
        'int __traceiter_android_vh_customize_alloc_gfp(void*, gfp_t*, unsigned int)'
      
      1 variable symbol(s) added
        'struct tracepoint __tracepoint_android_vh_customize_alloc_gfp'
      
      Bug: 395197442
      Change-Id: Ieb9a44667783d1c81ed9abf7cb1e8c2599280818
      Signed-off-by: default avatarwengle <wengle@oppo.com>
      0d04e7e6
    • wei li's avatar
      ANDROID: vendor_hooks: add vendor hook for supporting customize alloc_gfp at alloc_page_slowpath · 62a9b99e
      wei li authored
      
      add vendor hook for supporting customize alloc_gfp at alloc_page_slowpath,
      give the ability to customize alloc_gfp according to customer specific requirement.
      
      Bug: 337192903
      Bug: 395197442
      Change-Id: I42fd97fa76a47b9fde554434f607285bee8915c0
      Signed-off-by: default avatarwei li <liwei1234@oppo.com>
      Signed-off-by: default avatarwengle <wengle@oppo.com>
      62a9b99e
    • wei li's avatar
      ANDROID: ABI: update symbol list for honor · f9427701
      wei li authored
      
      21 function symbol(s) added
        'int __traceiter_block_rq_insert(void*, struct request*)'
        'int __traceiter_task_newtask(void*, struct task_struct*, unsigned long)'
        'int blkcg_policy_register(struct blkcg_policy*)'
        'void blkcg_policy_unregister(struct blkcg_policy*)'
        'struct usb_role_switch* fwnode_usb_role_switch_get(struct fwnode_handle*)'
        'long get_user_pages_remote(struct mm_struct*, unsigned long, unsigned long, unsigned int, struct page**, int*)'
        'time64_t mktime64(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
        'int profile_event_unregister(enum profile_type, struct notifier_block*)'
        'struct device* rdev_get_dev(struct regulator_dev*)'
        'void task_cputime_adjusted(struct task_struct*, u64*, u64*)'
        'unsigned int tty_chars_in_buffer(struct tty_struct*)'
        'int tty_dev_name_to_number(const char*, dev_t*)'
        'void tty_kclose(struct tty_struct*)'
        'struct tty_struct* tty_kopen_exclusive(dev_t)'
        'int tty_set_ldisc(struct tty_struct*, int)'
        'void tty_unlock(struct tty_struct*)'
        'int usb_for_each_dev(void*, int(*)(struct usb_device*, void*))'
        'int usb_gadget_connect(struct usb_gadget*)'
        'int usb_gadget_disconnect(struct usb_gadget*)'
        'struct wakeup_source* wakeup_sources_walk_next(struct wakeup_source*)'
        'struct wakeup_source* wakeup_sources_walk_start()'
      
      3 variable symbol(s) added
        'struct tracepoint __tracepoint_block_rq_insert'
        'struct tracepoint __tracepoint_task_newtask'
        'struct srcu_struct tracepoint_srcu'
      
      Bug: 406139796
      Change-Id: I0c8247234094f628d252482e3d8cb4140c30895d
      Signed-off-by: default avatarwei li <sirius.liwei@honor.corp-partner.google.com>
      f9427701
    • Aleksei Vetrov's avatar
      ANDROID: GKI: Update `kernel_aarch64_autofdo` build config to match `kernel_aarch64` · df17515c
      Aleksei Vetrov authored
      
      Enable trimming, imports and exports protection and missing
      `system_dlkm_extra_archive_files` to match `kernel_aarch64`. The only
      differences between these targets is `clang_autofdo_profile` and
      `kmi_enforced`: we don't guarantee ABI stability in AutoFDO targets.
      
      Bug: 393044622
      Change-Id: I15e62afebf12fa978d21cde5542fbf1c6e162124
      Signed-off-by: default avatarAleksei Vetrov <vvvvvv@google.com>
      df17515c
    • Aleksei Vetrov's avatar
      ANDROID: GKI: Update `kernel_aarch64_16k` build config to match `kernel_aarch64` · 11283af5
      Aleksei Vetrov authored
      
      Enable trimming, imports and exports protection in `kernel_aarch64_16k`
      to match `kernel_aarch64`. The only differences between these targets is
      `page_size` and `kmi_enforced`: we don't guarantee ABI stability in 16k
      kernels.
      
      Bug: 393044622
      Change-Id: I43207254a6621149d4b73f9d1c5ddbf3c4abd172
      Signed-off-by: default avatarAleksei Vetrov <vvvvvv@google.com>
      11283af5
  2. Mar 24, 2025
    • wei li's avatar
      ANDROID: ABI: update symbol list for honor · 585fa05b
      wei li authored
      
      Add the symbols used by CIFS.
      
      102 function symbol(s) added
        'void __d_lookup_unhash_wake(struct dentry*)'
        'int __traceiter_netfs_sreq(void*, struct netfs_io_subrequest*, enum netfs_sreq_trace)'
        'int add_swap_extent(struct swap_info_struct*, unsigned long, unsigned long, sector_t)'
        'int asn1_ber_decoder(const struct asn1_decoder*, void*, const unsigned char*, size_t)'
        'size_t copy_page_from_iter(struct page*, size_t, size_t, struct iov_iter*)'
        'size_t copy_page_to_iter(struct page*, size_t, size_t, struct iov_iter*)'
        'ssize_t copy_splice_read(struct file*, loff_t*, struct pipe_inode_info*, size_t, unsigned int)'
        'void d_add(struct dentry*, struct inode*)'
        'struct dentry* d_alloc_parallel(struct dentry*, const struct qstr*, wait_queue_head_t*)'
        'struct dentry* d_hash_and_lookup(struct dentry*, struct qstr*)'
        'void d_move(struct dentry*, struct dentry*)'
        'ino_t d_parent_ino(struct dentry*)'
        'void deactivate_super(struct super_block*)'
        'int errseq_check(errseq_t*, errseq_t)'
        'ssize_t extract_iter_to_sg(struct iov_iter*, size_t, struct sg_table*, unsigned int, iov_iter_extraction_t)'
        'struct vfsmount* fc_mount(struct fs_context*)'
        'int file_modified(struct file*)'
        'vm_fault_t filemap_fault(struct vm_fault*)'
        'vm_fault_t filemap_map_pages(struct vm_fault*, unsigned long, unsigned long)'
        'int filemap_migrate_folio(struct address_space*, struct folio*, struct folio*, enum migrate_mode)'
        'ssize_t filemap_splice_read(struct file*, loff_t*, struct pipe_inode_info*, size_t, unsigned int)'
        'int finish_no_open(struct file*, struct dentry*)'
        'int finish_open(struct file*, struct dentry*, int(*)(struct inode*, struct file*))'
        'struct fs_context* fs_context_for_submount(struct file_system_type*, struct dentry*)'
        'int fs_param_is_bool(struct p_log*, const struct fs_parameter_spec*, struct fs_parameter*, struct fs_parse_result*)'
        'int fs_param_is_gid(struct p_log*, const struct fs_parameter_spec*, struct fs_parameter*, struct fs_parse_result*)'
        'int fs_param_is_u64(struct p_log*, const struct fs_parameter_spec*, struct fs_parameter*, struct fs_parse_result*)'
        'int fs_param_is_uid(struct p_log*, const struct fs_parameter_spec*, struct fs_parameter*, struct fs_parse_result*)'
        'void generate_random_uuid(unsigned char*)'
        'int generic_key_instantiate(struct key*, struct key_preparsed_payload*)'
        'int generic_setlease(struct file*, int, struct file_lease**, void**)'
        'int in_group_p(kgid_t)'
        'struct timespec64 inode_set_ctime_current(struct inode*)'
        'void iov_iter_discard(struct iov_iter*, unsigned int, size_t)'
        'void iterate_supers_type(struct file_system_type*, void(*)(struct super_block*, void*), void*)'
        'ino_t iunique(struct super_block*, ino_t)'
        'void key_invalidate(struct key*)'
        'void key_revoke(struct key*)'
        'int key_validate(const struct key*)'
        'void* kmem_cache_alloc_lru_noprof(struct kmem_cache*, struct list_lru*, gfp_t)'
        'void lock_two_nondirectories(struct inode*, struct inode*)'
        'int locks_lock_inode_wait(struct inode*, struct file_lock*)'
        'enum OID look_up_OID(const void*, size_t)'
        'struct dentry* lookup_positive_unlocked(const char*, struct dentry*, int)'
        'void mark_mounts_for_expiry(struct list_head*)'
        'int mempool_resize(mempool_t*, int)'
        'void mnt_drop_write_file(struct file*)'
        'void mnt_set_expiry(struct vfsmount*, struct list_head*)'
        'int mnt_want_write_file(struct file*)'
        'ssize_t netfs_buffered_read_iter(struct kiocb*, struct iov_iter*)'
        'ssize_t netfs_buffered_write_iter_locked(struct kiocb*, struct iov_iter*, struct netfs_group*)'
        'bool netfs_dirty_folio(struct address_space*, struct folio*)'
        'void netfs_end_io_direct(struct inode*)'
        'void netfs_end_io_read(struct inode*)'
        'void netfs_end_io_write(struct inode*)'
        'ssize_t netfs_file_read_iter(struct kiocb*, struct iov_iter*)'
        'ssize_t netfs_file_write_iter(struct kiocb*, struct iov_iter*)'
        'void netfs_invalidate_folio(struct folio*, size_t, size_t)'
        'vm_fault_t netfs_page_mkwrite(struct vm_fault*, struct netfs_group*)'
        'void netfs_prepare_write_failed(struct netfs_io_subrequest*)'
        'int netfs_read_folio(struct file*, struct folio*)'
        'void netfs_read_subreq_terminated(struct netfs_io_subrequest*, int, bool)'
        'void netfs_readahead(struct readahead_control*)'
        'bool netfs_release_folio(struct folio*, gfp_t)'
        'int netfs_start_io_direct(struct inode*)'
        'int netfs_start_io_read(struct inode*)'
        'int netfs_start_io_write(struct inode*)'
        'ssize_t netfs_unbuffered_read_iter(struct kiocb*, struct iov_iter*)'
        'ssize_t netfs_unbuffered_read_iter_locked(struct kiocb*, struct iov_iter*)'
        'ssize_t netfs_unbuffered_write_iter(struct kiocb*, struct iov_iter*)'
        'ssize_t netfs_unbuffered_write_iter_locked(struct kiocb*, struct iov_iter*, struct netfs_group*)'
        'int netfs_unpin_writeback(struct inode*, struct writeback_control*)'
        'int netfs_writepages(struct address_space*, struct writeback_control*)'
        'int posix_lock_file(struct file*, struct file_lock*, struct file_lock*)'
        'void posix_test_lock(struct file*, struct file_lock*)'
        'struct cred* prepare_kernel_cred(struct task_struct*)'
        'void put_fs_context(struct fs_context*)'
        'int register_key_type(struct key_type*)'
        'struct key* request_key_tag(struct key_type*, const char*, struct key_tag*, const char*)'
        'int security_sb_eat_lsm_opts(char*, void**)'
        'void seq_escape_mem(struct seq_file*, const char*, size_t, unsigned int, const char*)'
        'int set_anon_super(struct super_block*, void*)'
        'struct super_block* sget(struct file_system_type*, int(*)(struct super_block*, void*), int(*)(struct super_block*, void*), int, void*)'
        'int sigprocmask(int, sigset_t*, sigset_t*)'
        'int sock_sendmsg(struct socket*, struct msghdr*)'
        'ssize_t splice_file_range(struct file*, loff_t*, struct file*, loff_t*, size_t)'
        'int sprint_oid(const void*, size_t, char*, size_t)'
        'int super_setup_bdi(struct super_block*)'
        'void tcp_sock_set_cork(struct sock*, bool)'
        'void tcp_sock_set_nodelay(struct sock*)'
        'struct timespec64 timestamp_truncate(struct timespec64, struct inode*)'
        'void truncate_inode_pages_range(struct address_space*, loff_t, loff_t)'
        'void truncate_pagecache_range(struct inode*, loff_t, loff_t)'
        'void unlock_two_nondirectories(struct inode*, struct inode*)'
        'void unregister_key_type(struct key_type*)'
        'void user_describe(const struct key*, struct seq_file*)'
        'void user_destroy(struct key*)'
        'long user_read(const struct key*, char*, size_t)'
        'void user_revoke(struct key*)'
        'int utf8s_to_utf16s(const u8*, int, enum utf16_endian, wchar_t*, int)'
        'int vfs_parse_fs_string(struct fs_context*, const char*, const char*, size_t)'
        'loff_t vfs_setpos(struct file*, loff_t, loff_t)'
      
      3 variable symbol(s) added
        'struct tracepoint __tracepoint_netfs_sreq'
        'struct key_type key_type_logon'
        'const struct file_operations simple_dir_operations'
      
      Bug: 405507842
      Change-Id: I773ece5bcbf665c092ea51ab16bf79be7427aee4
      Signed-off-by: default avatarwei li <sirius.liwei@honor.corp-partner.google.com>
      585fa05b
    • Dmitry Skiba's avatar
      ANDROID: ABI: Update pixel symbol list · ed5df776
      Dmitry Skiba authored
      
      Adding the following symbols:
        - all_vm_events
        - folio_wait_writeback
        - pcpu_nr_pages
        - rtc_ktime_to_tm
        - seq_put_decimal_ll
        - seq_put_decimal_ull_width
        - __traceiter_android_rvh_madvise_pageout_begin
        - __traceiter_android_rvh_madvise_pageout_end
        - __traceiter_android_rvh_mapping_shrinkable
        - __traceiter_android_rvh_meminfo_proc_show
        - __traceiter_android_rvh_reclaim_folio_list
        - __traceiter_android_rvh_vmscan_kswapd_done
        - __traceiter_android_rvh_vmscan_kswapd_wake
        - __traceiter_android_vh_filemap_get_folio
        - __traceiter_android_vh_mm_compaction_begin
        - __traceiter_android_vh_mm_compaction_end
        - __traceiter_android_vh_rmqueue
        - __traceiter_cma_alloc_finish
        - __traceiter_cma_alloc_start
        - __traceiter_mm_vmscan_direct_reclaim_begin
        - __traceiter_mm_vmscan_direct_reclaim_end
        - __tracepoint_android_rvh_madvise_pageout_begin
        - __tracepoint_android_rvh_madvise_pageout_end
        - __tracepoint_android_rvh_mapping_shrinkable
        - __tracepoint_android_rvh_meminfo_proc_show
        - __tracepoint_android_rvh_reclaim_folio_list
        - __tracepoint_android_rvh_vmscan_kswapd_done
        - __tracepoint_android_rvh_vmscan_kswapd_wake
        - __tracepoint_android_vh_filemap_get_folio
        - __tracepoint_android_vh_mm_compaction_begin
        - __tracepoint_android_vh_mm_compaction_end
        - __tracepoint_android_vh_rmqueue
        - __tracepoint_cma_alloc_finish
        - __tracepoint_cma_alloc_start
        - __tracepoint_mm_vmscan_direct_reclaim_begin
        - __tracepoint_mm_vmscan_direct_reclaim_end
        - vmalloc_nr_pages
        - vm_node_stat
      
      Bug: 402362646
      Change-Id: I2acb7212771b1409c0eefa3d11353e6e0ff18882
      Signed-off-by: default avatarDmitry Skiba <dskiba@google.com>
      ed5df776
    • Martin Liu's avatar
      ANDROID: vendor_hooks: Export direct reclaim trace points · f3b0fdc8
      Martin Liu authored
      
      Get direct reclaim info.
      
      Bug: 190795589
      Bug: 345109910
      Signed-off-by: default avatarMartin Liu <liumartin@google.com>
      Signed-off-by: default avatarRichard Chang <richardycc@google.com>
      (cherry picked from commit d705ab99)
      Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
      (cherry picked from https://android-review.googlesource.com/q/commit:c5d01a3f9bc07cc91fc91e7f848d548811116e00)
      Change-Id: Ie66a3c87484a364a918c19b8e044c82f1afd6749
      f3b0fdc8
    • Richard Chang's avatar
      ANDROID: vendor_hooks: Export cma_alloc trace points · 00c5ddff
      Richard Chang authored
      
      For cma_alloc latency measurement.
      
      Bug: 315897033
      Change-Id: I5941c0e0017728dc2139d5fad073f8b58f4efa29
      Signed-off-by: default avatarRichard Chang <richardycc@google.com>
      (cherry picked from commit 8bd97710)
      Signed-off-by: default avatarDmitry Skiba <dskiba@google.com>
      00c5ddff
    • Dmitry Skiba's avatar
      ANDROID: mm: add kswapd wake/done rvh · cc522873
      Dmitry Skiba authored
      
      These restricted hooks are needed for cases when vendor implementation
      needs to call sleeping functions. See the bug for details.
      
      Bug: 379922825
      Change-Id: I0e5626bed930830caf7f96a5b051b3174f4cf250
      Signed-off-by: default avatarDmitry Skiba <dskiba@google.com>
      (cherry picked from commit 6f0b82dd)
      Signed-off-by: default avatarJacky Liu <qsliu@google.com>
      (cherry picked from commit e7a48cd8)
      Signed-off-by: default avatarDmitry Skiba <dskiba@google.com>
      cc522873
    • Minchan Kim's avatar
      ANDROID: add vendor hook for mapping_shrinkable · 3b2b74ff
      Minchan Kim authored
      
      To control inode memory reclaim, add restricted vendor hook.
      
      Bug: 347958166
      Change-Id: Iefb9ef66c9fd5abae99adb1200263e4642f991cc
      Signed-off-by: default avatarMinchan Kim <minchan@google.com>
      (cherry picked from commit c53c09b1)
      Signed-off-by: default avatarDmitry Skiba <dskiba@google.com>
      3b2b74ff
    • Minchan Kim's avatar
      ANDROID: add vendor hooks and expoert reclaim_pages to reclaim memory · 8f50042a
      Minchan Kim authored
      
      Add vendor hooks to reclaim MADV_PAGEOUT memory for asynchrnous
      device. It also exports reclaim_pages to reclaim memory.
      
      Bug: 326662423
      Change-Id: Ic2516c64a9dbd53173a3bfb19b6cd21636916c27
      Signed-off-by: default avatarMinchan Kim <minchan@google.com>
      (cherry picked from commit 1c0a654f)
      Signed-off-by: default avatarDmitry Skiba <dskiba@google.com>
      8f50042a
    • Robin Hsu's avatar
      ANDROID: mm: vh for compaction begin/end · 1333f31c
      Robin Hsu authored
      
      Add vendor hook for compaction begin/end.  The first use would be
      to measure compaction durations.
      
      Bug: 229927848
      Test: echo 1 > /proc/sys/vm/compact_memory and observe output change in
      /sys/kernel/pixel_stat/mm/compaction/mm_compaction_duration
      Signed-off-by: default avatarRobin Hsu <robinhsu@google.com>
      Change-Id: I3d95434bf49b37199056dc9ddfc36a59a7de17b7
      Signed-off-by: default avatarRichard Chang <richardycc@google.com>
      (cherry picked from commit 13b6bd38)
      Signed-off-by: default avatarliangjlee <liangjlee@google.com>
      (cherry picked from commit 33b9d988)
      Signed-off-by: default avatarDmitry Skiba <dskiba@google.com>
      1333f31c
    • Minchan Kim's avatar
      ANDROID: vendor_hooks: add restricted vendor hook for meminfo · fc348be9
      Minchan Kim authored
      
      To report vendor-specific memory statistics, add restricted
      vendor hook since normal vendor hook work with only atomic
      context.
      
      Bug: 333482947
      Change-Id: I5c32961b30f082a8a4aa78906d2fce1cdf4b0d2b
      Signed-off-by: default avatarMinchan Kim <minchan@google.com>
      (cherry picked from commit 7ea01ee6)
      Signed-off-by: default avatarDmitry Skiba <dskiba@google.com>
      fc348be9
    • Chiawei Wang's avatar
      ANDROID: mm: Add vendor hook in filemap_get_folio() · 5f7004a8
      Chiawei Wang authored
      
      Add a vendor hook for pagecache hit/miss and other
      vendor specific functions.
      
      Bug: 174088128
      Bug: 172987241
      Signed-off-by: default avatarChiawei Wang <chiaweiwang@google.com>
      Change-Id: Ie9f14a69a86b8ed81de766e44e30f2eba1d9bd84
      Signed-off-by: default avatarRichard Chang <richardycc@google.com>
      (cherry picked from commit db158b4a)
      Signed-off-by: default avatarJack Lee <liangjlee@google.com>
      (cherry picked from commit cbac5cbf)
      Signed-off-by: default avatarDmitry Skiba <dskiba@google.com>
      5f7004a8
    • Chiawei Wang's avatar
      ANDROID: mm: Add vendor hook in rmqueue() · ae3f6c72
      Chiawei Wang authored
      
      Add a vendor hook for costly order page counting
      and other vendor specific functions.
      
      Bug: 174521902
      Bug: 172987241
      Signed-off-by: default avatarChiawei Wang <chiaweiwang@google.com>
      Change-Id: I89206727a462548cc3500b695d85c83ff003eec7
      Signed-off-by: default avatarRichard Chang <richardycc@google.com>
      (cherry picked from commit 369de378)
      Signed-off-by: default avatarliangjlee <liangjlee@google.com>
      (cherry picked from commit 86a45bb2)
      Signed-off-by: default avatarDmitry Skiba <dskiba@google.com>
      ae3f6c72
    • Qixia Yang's avatar
      ANDROID: Update symbols to oplus symbol list. · fcc2cca6
      Qixia Yang authored
      
      Add symbol list for oplus in gki/aarch64/symbols/oplus.
      
      1 function symbol(s) added
        'int __traceiter_android_vh_exit_check(void*, struct task_struct*)'
      
      1 variable symbol(s) added
        'struct tracepoint __tracepoint_android_vh_exit_check'
      
      Bug: 296493318
      
      Change-Id: I26613e658911381f97ba54aef501c10cb9852fa2
      Signed-off-by: default avatarQixia Yang <yangqixia2@oppo.com>
      fcc2cca6
    • Qixia Yang's avatar
      ANDROID: vendor_hooks: Add hooks for exiting control · dc524f0a
      Qixia Yang authored
      
      Add hooks at process exiting routines so that oems
      can control these procedures. One possible benifit is the peak of
      system load can be shaved and load can be more smooth when a large
      number of threads is killed once upon a time, while a sudden peak
      of system load can probably lead to user junk issues.
      
      Bug: 296493318
      Change-Id: Ied4cc968e45baa39f1b79e8c7dce75cf6b8db55d
      Signed-off-by: default avatarQixia Yang <yangqixia2@oppo.com>
      dc524f0a
    • Qixia Yang's avatar
      ANDROID: GKI: Update symbols to symbol list · 2e2c2435
      Qixia Yang authored
      
      Add symbol list for oplus in gki/aarch64/symbols/oplus
      
      1 function symbol(s) added
        'int __traceiter_sched_stat_iowait(void*, struct task_struct*, u64)'
      
      1 variable symbol(s) added
        'struct tracepoint __tracepoint_sched_stat_iowait'
      
      Bug: 322715220
      Change-Id: I18171badb1684220e19ee7259faac63e6dee16ca
      Signed-off-by: default avatarQixia Yang <yangqixia2@oppo.com>
      2e2c2435
    • dongliang.cui's avatar
      ANDROID: TRACE: sched: export sched_stat_iowait for calling in ko · 258d6d2f
      dongliang.cui authored
      
      Sometimes we need to monitor the iowait time of processes in real-time,
      and monitoring through this tracepoint is a more direct way.
      
      Bug: 322715220
      
      Change-Id: I63ac98ba34c6e672da48e73e1c19711b68b28077
      Signed-off-by: default avatardongliang.cui <dongliang.cui@unisoc.com>
      Signed-off-by: default avatarQixia Yang <yangqixia2@oppo.com>
      258d6d2f
    • Qixia Yang's avatar
      ANDROID: Update symbols to oplus symbol list. · 04a99b62
      Qixia Yang authored
      
      Add symbol list for oplus in gki/aarch64/symbols/oplus.
      
      4 function symbol(s) added
        'int __traceiter_android_rvh_place_entity(void*, struct cfs_rq*, struct sched_entity*, int, u64*)'
        'int __traceiter_android_rvh_try_to_wake_up_success(void*, struct task_struct*)'
        'int __traceiter_android_vh_alter_futex_plist_add(void*, struct plist_node*, struct plist_head*, bool*)'
        'int __traceiter_android_vh_cpufreq_fast_switch(void*, struct cpufreq_policy*, unsigned int*, unsigned int)'
      
      4 variable symbol(s) added
        'struct tracepoint __tracepoint_android_rvh_place_entity'
        'struct tracepoint __tracepoint_android_rvh_try_to_wake_up_success'
        'struct tracepoint __tracepoint_android_vh_alter_futex_plist_add'
        'struct tracepoint __tracepoint_android_vh_cpufreq_fast_switch'
      
      Bug: 401436689
      
      Change-Id: I27b5ff416de0d0bcc07774fc181c63188750f15e
      Signed-off-by: default avatarQixia Yang <yangqixia2@oppo.com>
      04a99b62
  3. Mar 21, 2025
Loading