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
  • lib
  • traceevent
  • plugins
  • plugin_futex.c
Find file BlameHistoryPermalink
  • Julia Cartwright's avatar
    tools lib traceevent: Add plugin for decoding syscalls/sys_enter_futex · 5973e6eb
    Julia Cartwright authored Jul 02, 2020
    The futex syscall is a complicated one.  It supports thirteen
    multiplexed operations, each with different semantics and encodings for
    the syscalls six arguments.
    
    Manually decoding these arguments is tedious and error prone.
    
    This plugin provides symbolic names for futex operations, futex flags,
    and tries to be intelligent about the intent of specific arguments (for
    example, waking operations use 'val' as an integer count, not just an
    arbitrary value).
    
    It doesn't do a full decode of the FUTEX_WAKE_OP's 'val3' argument,
    however, this is a good starting point.
    
    Link: http://lkml.kernel.org/r/20171207025649.12160-1-julia@ni.com
    Link: http://lore.kernel.org/linux-trace-devel/20200702174950.123454-3-tz.stoyanov@gmail.com
    
    
    
    Signed-off-by: default avatarJulia Cartwright <julia@ni.com>
    [ Ported from trace-cmd.git ]
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: linux-trace-devel@vger.kernel.org
    Link: http://lore.kernel.org/lkml/20200702185705.127175788@goodmis.org
    
    
    Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
    Signed-off-by: default avatarTzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    5973e6eb
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7