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
  • kernel
  • trace
  • trace_seq.c
Find file BlameHistoryPermalink
  • Steven Rostedt (Red Hat)'s avatar
    tracing: Fix trace_seq_bitmask() to start at current position · e400a40c
    Steven Rostedt (Red Hat) authored Nov 12, 2014
    
    
    In trace_seq_bitmask() it calls bitmap_scnprintf() not from the current
    position of the trace_seq buffer (s->buffer + s->len), but instead from
    the beginning of the buffer (s->buffer).
    
    Luckily, the only user of this "ipi_raise tracepoint" uses it as the
    first parameter, and as such, the start of the temp buffer in
    include/trace/ftrace.h (see __get_bitmask()).
    
    Reported-by: default avatarPetr Mladek <pmladek@suse.cz>
    Reviewed-by: default avatarPetr Mladek <pmladek@suse.cz>
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    e400a40c
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7