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.c
Find file BlameHistoryPermalink
  • Jiri Olsa's avatar
    libperf: Move 'idx' from tools/perf to perf_evsel::idx · 38fe0e01
    Jiri Olsa authored Jul 06, 2021
    
    
    Move evsel::idx to perf_evsel::idx, so we can move the group interface
    to libperf.
    
    Committer notes:
    
    Fixup evsel->idx usage in tools/perf/util/bpf_counter_cgroup.c, that
    appeared in my tree in my local tree.
    
    Also fixed up these:
    
    $ find tools/perf/ -name "*.[ch]" | xargs grep 'evsel->idx'
    tools/perf/ui/gtk/annotate.c:                      evsel->idx + i);
    tools/perf/ui/gtk/annotate.c:                   evsel->idx);
    $
    
    That running 'make -C tools/perf build-test' caught.
    
    Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
    Requested-by: default avatarShunsuke Nakamura <nakamura.shun@fujitsu.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Michael Petlan <mpetlan@redhat.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Link: http://lore.kernel.org/lkml/20210706151704.73662-3-jolsa@kernel.org
    
    
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    38fe0e01
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7