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
  • python-ext-sources
Find file BlameHistoryPermalink
  • Ze Gao's avatar
    perf evsel: Rename get_states() to parse_task_states() and make it public · 20018398
    Ze Gao authored Jan 23, 2024
    
    
    Since get_states() assumes the existence of libtraceevent, so move
    to where it should belong, i.e, util/trace-event-parse.c, and also
    rename it to parse_task_states().
    
    Leave evsel_getstate() untouched as it fits well in the evsel
    category.
    
    Also make some necessary tweaks for python support, and get it
    verified with: perf test python.
    
    Signed-off-by: default avatarZe Gao <zegao@tencent.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
    Link: https://lore.kernel.org/r/20240123070210.1669843-2-zegao@tencent.com
    20018398
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7