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
  • perf
  • util
  • python.c
Find file BlameHistoryPermalink
  • James Clark's avatar
    perf pmu: Use perf_pmu__open_file() and perf_pmu__scan_file() · d50a79cd
    James Clark authored Jan 20, 2023
    
    
    Remove some code that duplicates existing methods. Copy strings where
    const strings are required.
    
    No functional changes.
    
    Committer notes:
    
    Add a stub for erf_pmu__scan_file() in tools/perf/util/python.c not to
    drag tools/perf/util/pmu.c into the python binding.
    
    This fixes 'perf test python' at this point in this patchset.
    
    Reviewed-by: default avatarLeo Yan <leo.yan@linaro.org>
    Signed-off-by: default avatarJames Clark <james.clark@arm.com>
    Acked-by: default avatarSuzuki Poulouse <suzuki.poulose@arm.com>
    Tested-by: default avatarTanmay Jagdale <tanmay@marvell.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Bharat Bhushan <bbhushan2@marvell.com>
    Cc: George Cherian <gcherian@marvell.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: John Garry <john.g.garry@oracle.com>
    Cc: Linu Cherian <lcherian@marvell.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
    Cc: Mike Leach <mike.leach@linaro.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Sunil Kovvuri Goutham <sgoutham@marvell.com>
    Cc: Will Deacon <will@kernel.org>
    Cc: coresight@lists.linaro.org
    Cc: linux-arm-kernel@lists.infradead.org
    Link: https://lore.kernel.org/r/20230120143702.4035046-3-james.clark@arm.com
    
    
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    d50a79cd
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7