Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • bpf
  • stackmap.c
Find file BlameHistoryPermalink
  • Yafang Shao's avatar
    bpf: stackmap memory usage · cbb9b606
    Yafang Shao authored Mar 05, 2023
    
    
    A new helper is introduced to get stackmap memory usage. Some small
    memory allocations are ignored as their memory size is quite small
    compared to the totol usage.
    
    The result as follows,
    - before
    16: stack_trace  name count_map  flags 0x0
            key 4B  value 8B  max_entries 65536  memlock 1048576B
    
    - after
    16: stack_trace  name count_map  flags 0x0
            key 4B  value 8B  max_entries 65536  memlock 2097472B
    
    Signed-off-by: default avatarYafang Shao <laoar.shao@gmail.com>
    Link: https://lore.kernel.org/r/20230305124615.12358-6-laoar.shao@gmail.com
    
    
    Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
    cbb9b606
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7