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
  • tools
  • testing
  • selftests
  • resctrl
  • resctrl.h
Find file BlameHistoryPermalink
  • Ilpo Järvinen's avatar
    selftests/resctrl: Remove test name comparing from write_bm_pid_to_resctrl() · 0d66ddb2
    Ilpo Järvinen authored Jun 10, 2024
    
    
    write_bm_pid_to_resctrl() uses resctrl_val to check test name which is
    not a good interface generic resctrl FS functions should provide.
    
    Tests define mongrp when needed. Remove the test name check in
    write_bm_pid_to_resctrl() to only rely on the mongrp parameter being
    non-NULL.
    
    Remove write_bm_pid_to_resctrl() resctrl_val parameter and resctrl_val
    member from the struct resctrl_val_param that are not used anymore.
    Similarly, remove the test name constants that are no longer used.
    
    Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
    Tested-by: default avatarBabu Moger <babu.moger@amd.com>
    Reviewed-by: default avatarReinette Chatre <reinette.chatre@intel.com>
    Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
    0d66ddb2
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7