libperf cpumap: Replace usage of perf_cpu_map__new(NULL) with perf_cpu_map__new_online_cpus()Passing NULL to perf_cpu_map__new() performsperf_cpu_map__new_online_cpus(), just directly callperf_cp
libperf cpumap: Replace usage of perf_cpu_map__new(NULL) with perf_cpu_map__new_online_cpus()Passing NULL to perf_cpu_map__new() performsperf_cpu_map__new_online_cpus(), just directly callperf_cpu_map__new_online_cpus() to be more intention revealing.Reviewed-by: James Clark <[email protected]>Signed-off-by: Ian Rogers <[email protected]>Cc: Adrian Hunter <[email protected]>Cc: Alexander Shishkin <[email protected]>Cc: Alexandre Ghiti <[email protected]>Cc: Andrew Jones <[email protected]>Cc: André Almeida <[email protected]>Cc: Athira Jajeev <[email protected]>Cc: Atish Patra <[email protected]>Cc: Changbin Du <[email protected]>Cc: Darren Hart <[email protected]>Cc: Davidlohr Bueso <[email protected]>Cc: Huacai Chen <[email protected]>Cc: Ingo Molnar <[email protected]>Cc: Jiri Olsa <[email protected]>Cc: John Garry <[email protected]>Cc: K Prateek Nayak <[email protected]>Cc: Kajol Jain <[email protected]>Cc: Kan Liang <[email protected]>Cc: Leo Yan <[email protected]>Cc: Mark Rutland <[email protected]>Cc: Mike Leach <[email protected]>Cc: Namhyung Kim <[email protected]>Cc: Nick Desaulniers <[email protected]>Cc: Paolo Bonzini <[email protected]>Cc: Paran Lee <[email protected]>Cc: Peter Zijlstra <[email protected]>Cc: Ravi Bangoria <[email protected]>Cc: Sandipan Das <[email protected]>Cc: Sean Christopherson <[email protected]>Cc: Steinar H. Gunderson <[email protected]>Cc: Suzuki Poulouse <[email protected]>Cc: Thomas Gleixner <[email protected]>Cc: Will Deacon <[email protected]>Cc: Yang Jihong <[email protected]>Cc: Yang Li <[email protected]>Cc: Yanteng Si <[email protected]>Cc: [email protected]Cc: [email protected]Cc: [email protected]Link: https://lore.kernel.org/r/[email protected]Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
show more ...
libperf: Add counting exampleCurrent libperf man pages mention file counting.c "coming with libperf package",however, the file is missing. Add the file then.Fixes: 81de3bf37a8b ("libperf: Add ma
libperf: Add counting exampleCurrent libperf man pages mention file counting.c "coming with libperf package",however, the file is missing. Add the file then.Fixes: 81de3bf37a8b ("libperf: Add man pages")Signed-off-by: Michael Petlan <[email protected]>Acked-by: Jiri Olsa <[email protected]>Cc: Alexander Shishkin <[email protected]>Cc: Namhyung Kim <[email protected]>Cc: Peter Zijlstra <[email protected]>LPU-Reference: [email protected]Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
libperf: Add man pagesChange the man page generation to asciidoc, because it's easier to useand has been more commonly used in related projects. Remove the currentrst pages.Add 3 man pages to h
libperf: Add man pagesChange the man page generation to asciidoc, because it's easier to useand has been more commonly used in related projects. Remove the currentrst pages.Add 3 man pages to have a base for more additions: libperf.3 - overall description libperf-counting.7 - counting basics explained on simple example libperf-sampling.7 - sampling basics explained on simple exampleThe plan is to add more man pages to cover the basic API.The build generates html and man pages: $ cd tools/lib/perf/Documentation $ make ASCIIDOC libperf.xml XMLTO libperf.3 ASCIIDOC libperf-counting.xml XMLTO libperf-counting.7 ASCIIDOC libperf-sampling.xml XMLTO libperf-sampling.7 ASCIIDOC libperf.html ASCIIDOC libperf-counting.html ASCIIDOC libperf-sampling.htmlAdd the following install targets: install-man - man pages install-html - html version of man pages install-examples - examples mentioned in the man pagesSigned-off-by: Jiri Olsa <[email protected]>Cc: Alexander Shishkin <[email protected]>Cc: Michael Petlan <[email protected]>Cc: Namhyung Kim <[email protected]>Cc: Peter Zijlstra <[email protected]>Link: http://lore.kernel.org/lkml/[email protected]Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>