Skip to content

perf include bpf: Add bpf_tail_call() prototype

Arnaldo Carvalho de Melo linux-perf-users linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest107 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/107perf include bpf: Add bpf_tail_call() prototypetools/perf/include/bpf/bpf.h+2 -00 replies
2/107perf bpf: Do not attach a BPF prog to a tracepoint if its name starts with !tools/perf/util/parse-events.c+9 -00 replies
3/107perf evsel: Store backpointer to attached bpf_objecttools/perf/util/bpf-loader.c tools/perf/util/bpf-loader.h tools/perf/util/evsel.c +2 more+9 -40 replies
4/107perf trace: Add pointer to BPF object containing __augmented_syscalls__tools/perf/builtin-trace.c+15 -00 replies
5/107perf trace: Look up maps just on the __augmented_syscalls__ BPF objecttools/perf/builtin-trace.c+7 -130 replies
6/107perf trace: Order -e syscalls tabletools/perf/builtin-trace.c+8 -00 replies
7/107perf trace: Add BPF handler for unaugmented syscallstools/perf/builtin-trace.c tools/perf/examples/bpf/augmented_raw_syscalls.c+22 -00 replies
8/107perf trace: Allow specifying the bpf prog to augment specific syscallstools/perf/builtin-trace.c tools/perf/examples/bpf/augmented_raw_syscalls.c+71 -20 replies
9/107perf trace: Put the per-syscall entry/exit prog_array BPF map infrastructure in placetools/perf/builtin-trace.c tools/perf/examples/bpf/augmented_raw_syscalls.c+86 -40 replies
10/107perf trace: Handle raw_syscalls:sys_enter just like the BPF_OUTPUT augmented eventtools/perf/builtin-trace.c+15 -00 replies
11/107perf augmented_raw_syscalls: Add handler for "openat"tools/perf/builtin-trace.c tools/perf/examples/bpf/augmented_raw_syscalls.c+18 -00 replies
12/107perf augmented_raw_syscalls: Switch to using BPF_MAP_TYPE_PROG_ARRAYtools/perf/examples/bpf/augmented_raw_syscalls.c+16 -1110 replies
13/107perf augmented_raw_syscalls: Support copying two string syscall argstools/perf/builtin-trace.c tools/perf/examples/bpf/augmented_raw_syscalls.c+22 -00 replies
14/107perf trace: Look for default name for entries in the syscalls prog arraytools/perf/builtin-trace.c+19 -110 replies
15/107perf augmented_raw_syscalls: Rename augmented_args_filename to augmented_args_payloadtools/perf/examples/bpf/augmented_raw_syscalls.c+12 -100 replies
16/107perf augmented_raw_syscalls: Augment sockaddr arg in 'connect'tools/perf/examples/bpf/augmented_raw_syscalls.c+30 -50 replies
17/107perf trace beauty: Make connect's addrlen be printed as an int, not hextools/perf/builtin-trace.c+2 -10 replies
18/107perf trace beauty: Disable fd->pathname when close() not enabledtools/perf/builtin-trace.c+16 -30 replies
19/107perf trace beauty: Do not try to use the fd->pathname beautifier for bind/connect fd argtools/perf/builtin-trace.c+4 -20 replies
20/107perf trace beauty: Beautify 'sendto's sockaddr argtools/perf/examples/bpf/augmented_raw_syscalls.c+21 -00 replies
21/107perf trace beauty: Beautify bind's sockaddr argtools/perf/builtin-trace.c+3 -10 replies
22/107perf trace beauty: Add BPF augmenter for the 'rename' syscalltools/perf/examples/bpf/augmented_raw_syscalls.c+19 -00 replies
23/107perf trace: Forward error codes when trying to read syscall infotools/perf/builtin-trace.c+9 -60 replies
24/107perf trace: Mark syscall ids that are not allocated to avoid unnecessary error messagestools/perf/builtin-trace.c+19 -60 replies
25/107perf trace: Preallocate the syscall tabletools/perf/builtin-trace.c tools/perf/util/syscalltbl.c tools/perf/util/syscalltbl.h+9 -220 replies
26/107perf trace: Reuse BPF augmenters from syscalls with similar args signaturetools/perf/builtin-trace.c+152 -20 replies
27/107perf trace: Add "sendfile64" alias to the "sendfile" syscalltools/perf/builtin-trace.c+1 -00 replies
28/107perf stat: Move loaded out of struct perf_counts_valuestools/perf/builtin-stat.c tools/perf/util/counts.c tools/perf/util/counts.h +1 more+28 -40 replies
29/107perf cpu_map: Rename struct cpu_map to struct perf_cpu_maptools/perf/arch/arm/util/cs-etm.c tools/perf/arch/arm64/util/header.c tools/perf/arch/x86/tests/perf-time-to-tsc.c +49 more+198 -1980 replies
30/107perf tools: Rename struct thread_map to struct perf_thread_maptools/perf/arch/x86/tests/perf-time-to-tsc.c tools/perf/builtin-record.c tools/perf/builtin-sched.c +26 more+102 -1020 replies
31/107perf evsel: Rename struct perf_evsel to struct evseltools/perf/arch/arm/util/auxtrace.c tools/perf/arch/arm/util/cs-etm.c tools/perf/arch/arm64/util/arm-spe.c +110 more+1056 -10560 replies
32/107perf evlist: Rename struct perf_evlist to struct evlisttools/perf/arch/arm/util/auxtrace.c tools/perf/arch/arm/util/cs-etm.c tools/perf/arch/arm64/util/arm-spe.c +83 more+571 -5710 replies
33/107perf evsel: Rename perf_evsel__init() to evsel__init()tools/perf/util/evsel.c tools/perf/util/evsel.h tools/perf/util/python.c+6 -70 replies
34/107perf evlist: Rename perf_evlist__init() to evlist__init()tools/perf/util/evlist.c tools/perf/util/evlist.h tools/perf/util/python.c+6 -60 replies
35/107perf evlist: Rename perf_evlist__new() to evlist__new()tools/perf/arch/powerpc/util/kvm-stat.c tools/perf/arch/x86/tests/intel-cqm.c tools/perf/arch/x86/tests/perf-time-to-tsc.c +25 more+36 -360 replies
36/107perf evlist: Rename perf_evlist__delete() to evlist__delete()tools/perf/arch/x86/tests/intel-cqm.c tools/perf/arch/x86/tests/perf-time-to-tsc.c tools/perf/builtin-ftrace.c +29 more+42 -420 replies
37/107perf evsel: Rename perf_evsel__delete() to evsel__delete()tools/perf/builtin-inject.c tools/perf/builtin-trace.c tools/perf/tests/evsel-tp-sched.c +6 more+19 -190 replies
38/107perf evsel: Rename perf_evsel__new() to evsel__new()tools/perf/builtin-trace.c tools/perf/tests/sw-clock.c tools/perf/util/evsel.c +3 more+7 -70 replies
39/107perf evlist: Rename perf_evlist__add() to evlist__add()tools/perf/builtin-trace.c tools/perf/tests/mmap-basic.c tools/perf/tests/openat-syscall-tp-fields.c +5 more+21 -210 replies
40/107perf evlist: Rename perf_evlist__remove() to evlist__remove()tools/perf/builtin-inject.c tools/perf/util/evlist.c tools/perf/util/evlist.h+4 -40 replies
41/107perf evsel: Rename perf_evsel__open() to evsel__open()tools/perf/builtin-record.c tools/perf/builtin-top.c tools/perf/tests/mmap-basic.c +6 more+15 -150 replies
42/107perf evsel: Rename perf_evsel__enable() to evsel__enable()tools/perf/arch/arm/util/cs-etm.c tools/perf/arch/x86/util/intel-bts.c tools/perf/arch/x86/util/intel-pt.c +5 more+11 -110 replies
43/107perf evsel: Rename perf_evsel__disable() to evsel__disable()tools/perf/arch/arm/util/cs-etm.c tools/perf/arch/x86/util/intel-bts.c tools/perf/arch/x86/util/intel-pt.c +6 more+10 -100 replies
44/107perf evsel: Rename perf_evsel__apply_filter() to evsel__apply_filter()tools/perf/util/evlist.c tools/perf/util/evsel.c tools/perf/util/evsel.h+3 -30 replies
45/107perf evsel: Rename perf_evsel__cpus() to evsel__cpus()tools/perf/util/evsel.h tools/perf/util/stat-display.c tools/perf/util/stat.c+7 -70 replies
46/107perf evlist: Rename perf_evlist__open() to evlist__open()tools/perf/arch/x86/tests/perf-time-to-tsc.c tools/perf/builtin-kvm.c tools/perf/builtin-trace.c +13 more+16 -160 replies
47/107perf evlist: Rename perf_evlist__close() to evlist__close()tools/perf/builtin-kvm.c tools/perf/builtin-stat.c tools/perf/util/evlist.c +1 more+7 -70 replies
48/107perf evlist: Rename perf_evlist__enable() to evlist__enable()tools/perf/arch/x86/tests/perf-time-to-tsc.c tools/perf/builtin-kvm.c tools/perf/builtin-record.c +13 more+20 -200 replies
49/107perf evlist: Rename perf_evlist__disable() to evlist__disable()tools/perf/arch/x86/tests/perf-time-to-tsc.c tools/perf/builtin-kvm.c tools/perf/builtin-record.c +10 more+18 -180 replies
50/107libperf: Make libperf.a part of the perf buildtools/perf/Makefile.config tools/perf/Makefile.perf tools/perf/lib/Build +2 more+92 -140 replies
51/107libperf: Add build version supporttools/perf/lib/Makefile tools/perf/lib/libperf.map+21 -30 replies
52/107libperf: Add libperf to the python.so buildtools/perf/Makefile.perf tools/perf/util/setup.py+3 -10 replies
53/107libperf: Add perf/core.h headertools/perf/lib/include/perf/core.h+9 -00 replies
54/107libperf: Add debug output supporttools/perf/lib/core.c tools/perf/lib/include/perf/core.h tools/perf/lib/internal.h +1 more+67 -00 replies
55/107libperf: Add perf_cpu_map structtools/perf/lib/Build tools/perf/lib/cpumap.c tools/perf/lib/include/internal/cpumap.h +2 more+27 -60 replies
56/107libperf: Add perf_cpu_map__dummy_new() functiontools/perf/lib/cpumap.c tools/perf/lib/include/perf/cpumap.h tools/perf/lib/libperf.map +6 more+24 -190 replies
57/107libperf: Add perf_cpu_map__get()/perf_cpu_map__put()tools/perf/arch/arm/util/cs-etm.c tools/perf/arch/arm64/util/header.c tools/perf/builtin-ftrace.c +30 more+78 -750 replies
58/107libperf: Add perf_thread_map structtools/perf/lib/Build tools/perf/lib/include/internal/threadmap.h tools/perf/lib/include/perf/threadmap.h +2 more+35 -120 replies
59/107libperf: Add perf_thread_map__new_dummy() functiontools/perf/lib/include/internal/threadmap.h tools/perf/lib/include/perf/threadmap.h tools/perf/lib/libperf.map +6 more+71 -570 replies
60/107libperf: Add perf_thread_map__get()/perf_thread_map__put()tools/perf/builtin-record.c tools/perf/lib/include/perf/threadmap.h tools/perf/lib/libperf.map +20 more+74 -680 replies
61/107libperf: Add perf_evlist and perf_evsel structstools/perf/lib/Build tools/perf/lib/evlist.c tools/perf/lib/evsel.c +4 more+42 -00 replies
62/107libperf: Include perf_evsel in evsel objecttools/perf/builtin-sched.c tools/perf/builtin-trace.c tools/perf/ui/browsers/hists.c +7 more+44 -440 replies
63/107libperf: Include perf_evlist in evlist objecttools/perf/builtin-record.c tools/perf/builtin-sched.c tools/perf/builtin-trace.c +7 more+26 -250 replies
64/107libperf: Add perf_evsel__init functiontools/perf/lib/evsel.c tools/perf/lib/include/perf/evsel.h tools/perf/lib/libperf.map +1 more+12 -10 replies
65/107libperf: Add perf_evlist__init() functiontools/perf/lib/evlist.c tools/perf/lib/include/perf/evlist.h tools/perf/lib/libperf.map +1 more+12 -10 replies
66/107libperf: Add perf_evlist__add() functiontools/perf/lib/evlist.c tools/perf/lib/include/perf/evlist.h tools/perf/lib/libperf.map +1 more+12 -10 replies
67/107libperf: Add perf_evlist__remove() functiontools/perf/lib/evlist.c tools/perf/lib/include/perf/evlist.h tools/perf/lib/libperf.map +1 more+10 -10 replies
68/107libperf: Add nr_entries to struct perf_evlisttools/perf/arch/s390/util/auxtrace.c tools/perf/builtin-record.c tools/perf/builtin-stat.c +17 more+83 -800 replies
69/107libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evseltools/perf/arch/arm/util/auxtrace.c tools/perf/arch/arm/util/cs-etm.c tools/perf/arch/arm64/util/arm-spe.c +56 more+864 -8570 replies
70/107libperf: Add perf_cpu_map__new()/perf_cpu_map__read() functionstools/perf/arch/arm/util/cs-etm.c tools/perf/arch/x86/tests/perf-time-to-tsc.c tools/perf/bench/epoll-ctl.c +34 more+265 -2270 replies
71/107libperf: Move zalloc.o into libperftools/perf/lib/Build tools/perf/util/Build tools/perf/util/python-ext-sources+5 -60 replies
72/107libperf: Add perf_evlist__new() functiontools/perf/lib/evlist.c tools/perf/lib/include/perf/evlist.h tools/perf/lib/libperf.map+13 -00 replies
73/107libperf: Add perf_evsel__new() functiontools/perf/lib/evsel.c tools/perf/lib/include/perf/evsel.h tools/perf/lib/libperf.map+13 -00 replies
74/107libperf: Add perf_evlist__for_each_evsel() iteratortools/perf/lib/evlist.c tools/perf/lib/include/perf/evlist.h tools/perf/lib/libperf.map+28 -00 replies
75/107libperf: Add perf_evlist__delete() functiontools/perf/lib/evlist.c tools/perf/lib/include/perf/evlist.h tools/perf/lib/libperf.map+8 -00 replies
76/107libperf: Add perf_evsel__delete() functiontools/perf/lib/evsel.c tools/perf/lib/include/perf/evsel.h tools/perf/lib/libperf.map+8 -00 replies
77/107libperf: Add cpus to struct perf_evseltools/perf/builtin-record.c tools/perf/builtin-script.c tools/perf/lib/include/internal/evsel.h +6 more+20 -180 replies
78/107libperf: Add own_cpus to struct perf_evseltools/perf/lib/include/internal/evsel.h tools/perf/tests/event_update.c tools/perf/util/evlist.c +4 more+14 -140 replies
79/107libperf: Add threads to struct perf_evseltools/perf/builtin-record.c tools/perf/builtin-script.c tools/perf/lib/include/internal/evsel.h +6 more+17 -160 replies
80/107libperf: Add has_user_cpus to struct perf_evlisttools/perf/lib/include/internal/evlist.h tools/perf/util/evlist.c tools/perf/util/evlist.h+3 -30 replies
81/107libperf: Add cpus to struct perf_evlisttools/perf/arch/arm/util/cs-etm.c tools/perf/arch/x86/util/intel-bts.c tools/perf/arch/x86/util/intel-pt.c +12 more+53 -510 replies
82/107libperf: Add threads to struct perf_evlisttools/perf/builtin-ftrace.c tools/perf/builtin-kvm.c tools/perf/builtin-record.c +9 more+45 -440 replies
83/107libperf: Add perf_evlist__set_maps() functiontools/perf/arch/x86/tests/perf-time-to-tsc.c tools/perf/builtin-script.c tools/perf/builtin-stat.c +11 more+83 -670 replies
84/107libperf: Adopt xyarray class from perftools/perf/builtin-top.c tools/perf/lib/Build tools/perf/lib/include/internal/xyarray.h +6 more+39 -90 replies
85/107libperf: Move fd array from perf's evsel to lobperf's perf_evsel classtools/perf/lib/include/internal/evsel.h tools/perf/util/bpf-loader.c tools/perf/util/evlist.c +2 more+22 -220 replies
86/107libperf: Move nr_members from perf's evsel to libperf's perf_evseltools/perf/builtin-report.c tools/perf/builtin-script.c tools/perf/builtin-stat.c +15 more+45 -430 replies
87/107libperf: Adopt the readn()/writen() functions from tools/perftools/perf/lib/Build tools/perf/lib/include/internal/lib.h tools/perf/lib/lib.c +2 more+58 -430 replies
88/107libperf: Adopt perf_evsel__alloc_fd() function from tools/perftools/perf/lib/evsel.c tools/perf/lib/include/internal/evsel.h tools/perf/util/evsel.c+24 -170 replies
89/107libperf: Adopt simplified perf_evsel__open() function from tools/perftools/perf/lib/evsel.c tools/perf/lib/include/perf/evsel.h tools/perf/lib/libperf.map+70 -00 replies
90/107libperf: Adopt simplified perf_evsel__close() function from tools/perftools/perf/builtin-trace.c tools/perf/lib/evsel.c tools/perf/lib/include/internal/evsel.h +7 more+40 -310 replies
91/107libperf: Adopt perf_evsel__read() function from tools/perftools/perf/lib/evsel.c tools/perf/lib/include/internal/evsel.h tools/perf/lib/include/perf/evsel.h +5 more+62 -580 replies
92/107libperf: Adopt perf_evsel__enable()/disable()/apply_filter() functionstools/perf/lib/evsel.c tools/perf/lib/include/internal/evsel.h tools/perf/lib/include/perf/evsel.h +4 more+44 -290 replies
93/107libperf: Add perf_cpu_map__for_each_cpu() macrotools/perf/lib/cpumap.c tools/perf/lib/include/perf/cpumap.h tools/perf/lib/libperf.map+22 -00 replies
94/107libperf: Add perf_evsel__cpus()/threads() functionstools/perf/lib/evsel.c tools/perf/lib/include/perf/evsel.h tools/perf/lib/libperf.map +1 more+15 -10 replies
95/107libperf: Adopt simplified perf_evlist__open()/close() functions from tools/perftools/perf/lib/evlist.c tools/perf/lib/include/internal/evlist.h tools/perf/lib/include/perf/evlist.h +1 more+65 -00 replies
96/107libperf: Adopt perf_evlist__enable()/disable() functions from perftools/perf/lib/evlist.c tools/perf/lib/include/perf/evlist.h tools/perf/lib/libperf.map+20 -00 replies
97/107libperf: Add perf_evsel__attr() functiontools/perf/lib/evsel.c tools/perf/lib/include/perf/evsel.h tools/perf/lib/libperf.map+7 -00 replies
98/107libperf: Add install targetstools/perf/lib/Makefile tools/perf/lib/libperf.pc.template+78 -20 replies
99/107libperf: Add tests supporttools/perf/lib/Makefile tools/perf/lib/include/internal/tests.h tools/perf/lib/tests/Makefile+63 -10 replies
100/107libperf: Add perf_cpu_map testtools/perf/lib/tests/Makefile tools/perf/lib/tests/test-cpumap.c+22 -10 replies
101/107libperf: Add perf_thread_map testtools/perf/lib/tests/Makefile tools/perf/lib/tests/test-threadmap.c+22 -10 replies
102/107libperf: Add perf_evlist testtools/perf/lib/tests/Makefile tools/perf/lib/tests/test-evlist.c+124 -10 replies
103/107libperf: Add perf_evsel teststools/perf/lib/tests/Makefile tools/perf/lib/tests/test-evsel.c+83 -10 replies
104/107libperf: Add perf_evlist__enable/disable testtools/perf/lib/tests/test-evlist.c+63 -00 replies
105/107libperf: Add perf_evsel__enable/disable testtools/perf/lib/tests/test-evsel.c+43 -00 replies
106/107libperf: Initial documentationtools/perf/lib/Documentation/Makefile tools/perf/lib/Documentation/man/libperf.rst tools/perf/lib/Documentation/tutorial/tutorial.rst+230 -00 replies
107/107perf vendor events power9: Added missing event descriptionstools/perf/pmu-events/arch/powerpc/power9/memory.json tools/perf/pmu-events/arch/powerpc/power9/other.json+5 -51 reply

Reviews trailers per patch

1 of 107 patches has a Reviewed-by or Acked-by.

PatchArnaldo Carvalho de MeloMadhavan SrinivasanMichael Ellerman
1/107
2/107
3/107
4/107
5/107
6/107
7/107
8/107
9/107
10/107
11/107
12/107
13/107
14/107
15/107
16/107
17/107
18/107
19/107
20/107
21/107
22/107
23/107
24/107
25/107
26/107
27/107
28/107
29/107
30/107
31/107
32/107
33/107
34/107
35/107
36/107
37/107
38/107
39/107
40/107
41/107
42/107
43/107
44/107
45/107
46/107
47/107
48/107
49/107
50/107T-b
51/107T-b
52/107T-b
53/107
54/107
55/107
56/107
57/107
58/107
59/107
60/107
61/107
62/107
63/107
64/107
65/107T-b
66/107
67/107
68/107
69/107
70/107
71/107
72/107
73/107
74/107
75/107
76/107
77/107
78/107
79/107
80/107
81/107
82/107
83/107
84/107
85/107
86/107
87/107
88/107
89/107
90/107
91/107
92/107
93/107
94/107
95/107
96/107
97/107
98/107T-b
99/107
100/107T-b
101/107T-b
102/107T-b
103/107T-b
104/107T-b
105/107T-b
106/107
107/107R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread