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
  • linux
  • tools
  • perf
  • util
  • scripting-engines
  • trace-event-python.c
Find file BlameHistoryPermalink
  • Steven Rostedt (Red Hat)'s avatar
    tools lib traceevent: Added support for __get_bitmask() macro · 473a778a
    Steven Rostedt (Red Hat) authored Jun 02, 2014
    Coming in v3.16, trace events will be able to save bitmasks in raw
    format in the ring buffer and output it with the __get_bitmask() macro.
    
    In order for userspace tools to parse this, it must be able to handle
    the __get_bitmask() call and be able to convert the data that's in
    the ring buffer into a nice bitmask format. The output is similar to
    what the kernel uses to print bitmasks, with a comma separator every
    4 bytes (8 characters).
    
    This allows for cpumasks to also be saved efficiently.
    
    The first user is the thermal:thermal_power_limit event which has the
    following output:
    
     thermal_power_limit:  cpus=0000000f freq=1900000 cdev_state=0 power=5252
    
    Link: http://lkml.kernel.org/r/20140506132238.22e136d1@gandalf.local.home
    
    
    
    Suggested-by: default avatarJavi Merino <javi.merino@arm.com>
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    Acked-by: default avatarNamhyung Kim <namhyung@kernel.org>
    Tested-by: default avatarJavi Merino <javi.merino@arm.com>
    Link: http://lkml.kernel.org/r/20140603032224.229186537@goodmis.org
    
    
    Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
    473a778a
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7