Skip to content

perf tools: perf.h cleanups

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10perf tools: Remove MAX_COUNTERS define from perf.htools/perf/perf.h+0 -10 replies
2/10perf tools: Remove unlikely define from perf.htools/perf/perf.h+0 -10 replies
3/10perf tools: Remove min define from perf.htools/perf/perf.h+0 -60 replies
4/10perf tools: Remove asmlinkage define from perf.htools/perf/perf.h+0 -50 replies
5/10perf tools: Remove PR_TASK_PERF_EVENTS_* from perf.htools/perf/perf.h+0 -70 replies
6/10perf tools: Move sample data structures from perf.htools/perf/perf.h tools/perf/util/event.h tools/perf/util/symbol.h+25 -240 replies
7/10perf tools: Move perf_call_graph_mode enum from perf.htools/perf/perf.h tools/perf/util/callchain.h+7 -70 replies
8/10perf tools: Move syscall and arch specific defines from perf.htools/perf/perf-sys.h tools/perf/perf.h+169 -1640 replies
9/10perf tools: Move sys_perf_event_open function from perf.htools/perf/perf-sys.h tools/perf/perf.h+33 -290 replies
10/10perf tools: Move ACCESS_ONCE from perf.h headertools/perf/perf.h tools/perf/util/evlist.h+2 -23 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter ZijlstraArnaldo Carvalho de Melo
SeriesA-b A-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10Requested-by
9/10Requested-by
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] perf tools: perf.h cleanups

hi,
moving syscall function and arch related defines into new header 'perf-sys.h' as requested by Peter in:
http://lkml.kernel.org/r/[email protected]

While at it I did some clean ups in perf.h header.

Hopefully I did not brake anyone's usage of perf.h .. let me know ;-)

Also available in here:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/header_1

thanks,
jirka
---

Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Corey Ashford <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>

Jiri Olsa (10):
perf tools: Remove MAX_COUNTERS define from perf.h perf tools: Remove unlikely define from perf.h
perf tools: Remove min define from perf.h
perf tools: Remove asmlinkage define from perf.h perf tools: Remove PR_TASK_PERF_EVENTS_* from perf.h perf tools: Move sample data structures from perf.h perf tools: Move perf_call_graph_mode enum from perf.h perf tools: Move syscall and arch specific defines from perf.h perf tools: Move sys_perf_event_open function from perf.h perf tools: Move ACCESS_ONCE from perf.h header

 tools/perf/perf-sys.h       | 190 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/perf/perf.h           | 250 ++++---------------------------------------------------------------------------------------------------
 tools/perf/util/callchain.h |   7 +++
 tools/perf/util/event.h     |  24 ++++++++++
 tools/perf/util/evlist.h    |   2 +
 tools/perf/util/symbol.h    |   1 +
 6 files changed, 232 insertions(+), 242 deletions(-)
 create mode 100644 tools/perf/perf-sys.h