Skip to content

perf record: Fix priv level with branch sampling for paranoid=2

Arnaldo Carvalho de Melo linux-perf-users linux-trace-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest66 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/66perf record: Fix priv level with branch sampling for paranoid=2tools/perf/util/evsel.c+4 -20 replies
2/66perf record: Move restricted maps check to after a possible fallback to not collect kernel samplestools/perf/builtin-record.c+11 -100 replies
3/66perf vendor events amd: Add L3 cache events for Family 17htools/perf/pmu-events/arch/x86/amdfam17h/cache.json tools/perf/pmu-events/jevents.c+43 -00 replies
4/66perf vendor events amd: Remove redundant '['tools/perf/pmu-events/arch/x86/amdfam17h/core.json+1 -10 replies
5/66perf vendor events: Minor fixes to the READMEtools/perf/pmu-events/README+11 -110 replies
6/66perf list: Allow plurals for metric, metricgrouptools/perf/builtin-list.c+2 -20 replies
7/66libtraceevent: Round up in tep_print_event() time precisiontools/lib/traceevent/event-parse.c+3 -10 replies
8/66libtraceevent: Man pages for libtraceevent event print related APItools/lib/traceevent/Documentation/libtraceevent-event_print.txt+130 -00 replies
9/66libtraceevent: Man pages fix, rename tep_ref_get() to tep_get_ref()tools/lib/traceevent/Documentation/libtraceevent-handle.txt tools/lib/traceevent/Documentation/libtraceevent.txt+5 -50 replies
10/66libtraceevent: Man pages fix, changes in event printing APIstools/lib/traceevent/Documentation/libtraceevent.txt+1 -120 replies
11/66libtraceevent: Add tep_get_event() in event-parse.htools/lib/traceevent/event-parse.h+2 -00 replies
12/66libtraceevent: Move traceevent plugins in its own subdirectorytools/lib/traceevent/Build tools/lib/traceevent/Makefile tools/lib/traceevent/plugins/Build +12 more+250 -910 replies
13/66libtraceevent: Man pages for tep plugins APIstools/lib/traceevent/Documentation/libtraceevent-plugins.txt+99 -00 replies
14/66tools: Add missing stdio.h include to asm/bug.h headertools/include/asm/bug.h+1 -00 replies
15/66perf tools: Rename 'struct perf_mmap' to 'struct mmap'tools/perf/arch/x86/tests/perf-time-to-tsc.c tools/perf/builtin-kvm.c tools/perf/builtin-record.c +19 more+93 -930 replies
16/66perf tools: Rename perf_evlist__mmap() to evlist__mmap()tools/perf/arch/x86/tests/perf-time-to-tsc.c tools/perf/builtin-kvm.c tools/perf/builtin-record.c +15 more+43 -430 replies
17/66perf tools: Rename perf_evlist__munmap() to evlist__munmap()tools/perf/tests/backward-ring-buffer.c tools/perf/util/evlist.c tools/perf/util/evlist.h+8 -80 replies
18/66perf tools: Rename perf_evlist__alloc_mmap() to evlist__alloc_mmap()tools/perf/util/evlist.c+4 -40 replies
19/66perf tools: Rename perf_evlist__exit() to evlist__exit()tools/perf/util/evlist.c tools/perf/util/evlist.h tools/perf/util/python.c+4 -40 replies
20/66perf tools: Rename perf_evlist__purge() to evlist__purge()tools/perf/util/evlist.c+2 -20 replies
21/66libperf: Link libapi.a in libperf.sotools/perf/lib/Makefile+30 -30 replies
22/66perf evlist: Adopt backwards ring buffer state enumtools/perf/arch/s390/util/auxtrace.c tools/perf/arch/x86/tests/perf-time-to-tsc.c tools/perf/arch/x86/util/intel-bts.c +23 more+53 -290 replies
23/66libperf: Add perf_mmap structtools/perf/arch/x86/tests/perf-time-to-tsc.c tools/perf/arch/x86/util/intel-bts.c tools/perf/arch/x86/util/intel-pt.c +4 more+39 -240 replies
24/66libperf: Add 'mask' to struct perf_mmaptools/perf/lib/include/internal/mmap.h tools/perf/util/mmap.c tools/perf/util/mmap.h+13 -130 replies
25/66libperf: Add 'fd' to struct perf_mmaptools/perf/lib/include/internal/mmap.h tools/perf/util/evlist.c tools/perf/util/mmap.c +1 more+5 -50 replies
26/66libperf: Add 'cpu' to struct perf_mmaptools/perf/lib/include/internal/mmap.h tools/perf/util/mmap.c tools/perf/util/mmap.h +1 more+6 -60 replies
27/66libperf: Add 'refcnt' to struct perf_mmaptools/perf/lib/include/internal/mmap.h tools/perf/util/evlist.c tools/perf/util/mmap.c +1 more+13 -110 replies
28/66libperf: Add prev/start/end to struct perf_mmaptools/perf/lib/include/internal/mmap.h tools/perf/util/mmap.c tools/perf/util/mmap.h+29 -280 replies
29/66libperf: Add 'overwrite' to 'struct perf_mmap'tools/perf/lib/include/internal/mmap.h tools/perf/util/evlist.c tools/perf/util/mmap.c +1 more+9 -80 replies
30/66libperf: Add 'event_copy' to 'struct perf_mmap'tools/perf/lib/include/internal/mmap.h tools/perf/util/mmap.c tools/perf/util/mmap.h+7 -30 replies
31/66libperf: Add 'flush' to 'struct perf_mmap'tools/perf/builtin-record.c tools/perf/lib/include/internal/mmap.h tools/perf/util/mmap.c +1 more+8 -80 replies
32/66libperf: Move 'system_wide' from 'struct evsel' to 'struct perf_evsel'tools/perf/arch/x86/util/intel-pt.c tools/perf/builtin-script.c tools/perf/builtin-stat.c +7 more+21 -200 replies
33/66libperf: Move 'nr_mmaps' from 'struct evlist' to 'struct perf_evlist'tools/perf/arch/arm/util/cs-etm.c tools/perf/arch/arm64/util/arm-spe.c tools/perf/arch/x86/tests/perf-time-to-tsc.c +17 more+28 -280 replies
34/66libperf: Move 'mmap_len' from 'struct evlist' to 'struct perf_evlist'tools/perf/builtin-record.c tools/perf/lib/include/internal/evlist.h tools/perf/util/evlist.c +1 more+7 -70 replies
35/66libperf: Move 'pollfd' from 'struct evlist' to 'struct perf_evlist'tools/perf/builtin-kvm.c tools/perf/lib/include/internal/evlist.h tools/perf/util/evlist.c +2 more+15 -140 replies
36/66libperf: Add missing 'struct xyarray' forward declarationtools/perf/lib/include/internal/evsel.h+1 -00 replies
37/66libperf: Move 'sample_id' from 'struct evsel' to 'struct perf_evsel'tools/perf/builtin-stat.c tools/perf/lib/include/internal/evsel.h tools/perf/util/evlist.c +2 more+10 -110 replies
38/66libperf: Move 'id' from 'struct evsel' to 'struct perf_evsel'tools/perf/lib/include/internal/evsel.h tools/perf/util/cs-etm.c tools/perf/util/evlist.c +6 more+22 -220 replies
39/66libperf: Move 'ids' from 'struct evsel' to 'struct perf_evsel'tools/perf/lib/include/internal/evsel.h tools/perf/util/evlist.c tools/perf/util/evsel.c +5 more+15 -150 replies
40/66libperf: Move 'heads' from 'struct evlist' to 'struct perf_evlist'tools/perf/lib/evlist.c tools/perf/lib/include/internal/evlist.h tools/perf/util/evlist.c +1 more+11 -110 replies
41/66libperf: Add perf_evsel__alloc_id/perf_evsel__free_id functionstools/perf/lib/evsel.c tools/perf/lib/include/internal/evsel.h tools/perf/tests/event_update.c +5 more+71 -670 replies
42/66libperf: Add perf_evlist__first()/last() functionstools/perf/arch/arm/util/cs-etm.c tools/perf/arch/arm64/util/arm-spe.c tools/perf/arch/x86/tests/intel-cqm.c +29 more+145 -1290 replies
43/66libperf: Add perf_evlist__read_format() functiontools/perf/lib/evlist.c tools/perf/lib/include/internal/evlist.h tools/perf/util/evlist.c +1 more+10 -80 replies
44/66libperf: Add perf_evlist__id_add() functiontools/perf/lib/evlist.c tools/perf/lib/include/internal/evlist.h tools/perf/tests/event_update.c +3 more+34 -260 replies
45/66libperf: Add perf_evlist__id_add_fd() functiontools/perf/lib/evlist.c tools/perf/lib/include/internal/evlist.h tools/perf/util/evlist.c +2 more+50 -470 replies
46/66libperf: Move 'page_size' global variable to libperftools/perf/arch/arm/util/cs-etm.c tools/perf/arch/arm64/util/arm-spe.c tools/perf/arch/s390/util/machine.c +25 more+36 -250 replies
47/66perf tools: No need to include internal/lib.h from util/util.htools/perf/tests/sdt.c tools/perf/util/util.h+1 -10 replies
48/66libperf: Use sys/types.h to get ssize_t, not unistd.htools/perf/lib/include/internal/lib.h tools/perf/util/mmap.c+2 -10 replies
49/66libperf: Add libperf dependency for tests targetstools/perf/lib/Makefile+1 -10 replies
50/66libperf: Merge libperf_set_print() into libperf_init()tools/perf/lib/core.c tools/perf/lib/include/perf/core.h tools/perf/lib/libperf.map +1 more+10 -100 replies
51/66libperf: Add libperf_init() call to the teststools/perf/lib/tests/test-cpumap.c tools/perf/lib/tests/test-evlist.c tools/perf/lib/tests/test-evsel.c +1 more+40 -00 replies
52/66libperf: Add perf_evlist__alloc_pollfd() functiontools/perf/lib/evlist.c tools/perf/lib/include/internal/evlist.h tools/perf/util/evlist.c +1 more+25 -230 replies
53/66libperf: Add perf_evlist__add_pollfd() functiontools/perf/builtin-kvm.c tools/perf/builtin-record.c tools/perf/builtin-trace.c +4 more+28 -270 replies
54/66libperf: Add perf_evlist__poll() functiontools/perf/builtin-record.c tools/perf/builtin-top.c tools/perf/builtin-trace.c +9 more+19 -120 replies
55/66perf copyfile: Move copyfile routines to separate filestools/perf/util/Build tools/perf/util/build-id.c tools/perf/util/copyfile.c +4 more+164 -1420 replies
56/66perf evsel: Remove need for symbol_conf in evsel_fprintf.ctools/perf/builtin-sched.c tools/perf/builtin-script.c tools/perf/builtin-trace.c +2 more+16 -150 replies
57/66perf evsel: Introduce evsel_fprintf.htools/perf/builtin-evlist.c tools/perf/builtin-sched.c tools/perf/builtin-script.c +9 more+218 -1932 replies
58/66perf evlist: Remove unused perf_evlist__fprintf() methodtools/perf/util/evlist.c tools/perf/util/evlist.h tools/perf/util/parse-events.y+1 -160 replies
59/66perf evsel: Move config terms to a separate headertools/perf/arch/arm/util/cs-etm.c tools/perf/builtin-top.c tools/perf/util/evsel.c +3 more+54 -430 replies
60/66perf tools: Replace needless mmap.h with what is needed, event.htools/perf/util/annotate.c tools/perf/util/parse-events.c+2 -20 replies
61/66perf stat: Fix free memory access / memory leaks in metricstools/perf/util/stat-shadow.c+2 -20 replies
62/66perf evlist: Fix access of freed id arraystools/perf/util/evlist.c+1 -10 replies
63/66perf vendor events: Remove P8 HW events which are not supportedtools/perf/pmu-events/arch/powerpc/power8/other.json+0 -240 replies
64/66perf jvmti: Include JVMTI support for s390tools/perf/arch/s390/Makefile tools/perf/util/genelf.h+4 -00 replies
65/66perf build: Add detection of java-11-openjdk-devel packagetools/perf/Makefile.config+1 -10 replies
66/66perf parser: Remove needless include directivestools/perf/util/parse-events.y+0 -30 replies

Reviews trailers per patch

8 of 66 patches have a Reviewed-by or Acked-by.

PatchJiri OlsaArnaldo Carvalho de MeloAndi KleenRavi Bangoria
1/66A-b T-b
2/66
3/66R-b
4/66R-b
5/66R-b
6/66T-b R-b
7/66
8/66
9/66
10/66
11/66
12/66
13/66
14/66
15/66
16/66
17/66
18/66
19/66
20/66
21/66
22/66
23/66
24/66
25/66
26/66
27/66
28/66
29/66
30/66
31/66
32/66
33/66
34/66
35/66
36/66
37/66
38/66
39/66
40/66
41/66
42/66
43/66
44/66
45/66
46/66
47/66
48/66
49/66
50/66
51/66
52/66
53/66
54/66
55/66
56/66
57/66
58/66
59/66
60/66
61/66A-b T-b
62/66A-b T-b
63/66A-b
64/66
65/66T-b
66/66

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

Read the v1 thread