Commits on Source (8)
-
Googler authored
PiperOrigin-RevId: 684574518
5db91c99 -
hzeller authored
PiperOrigin-RevId: 687359582
b3be0519 -
gmx authored
Any remaining bytes are event IDs. But if the declared payload size is smaller, subtracting these unsigned values when computing the number of IDs yields a very large number, which subsequently leads to a memory allocation failure. PiperOrigin-RevId: 688313672
3d32ceef -
yelouis authored
PiperOrigin-RevId: 688756974
011b3148 -
xliuprof authored
Further slice the L3 hits to local, near, and far L3. PiperOrigin-RevId: 689060853
3a088518 -
hzeller authored
Code that we import via MODULE.bazel generates warnings that are not really actionable from this projects' perspective. Use new bazel6+ feature to set different options for files matching a regex, in this case all external/ files shall have switched-off warnings. Also: explicitly give the -xc++ option for c++ files. Bazel does not invoke `clang++` but the generic `clang` driver for all files and hopes that it auto-detects the file. This is not true for all clang installations, and in particular clangd, clang-tidy etc. have issues not knowing the type of file. PiperOrigin-RevId: 693428479
0fca8c12 -
skanev authored
Becuase of some (very) legacy perf behavior, quipper could ignore the number of PMU mappings and continue reading past them. Remove that, since perf has been writing the number of mappings reliably since 4.14. This way, we can safely ignore checking against the PERF_RECORD_FEATURE size. And that allows us to handle padding at the end of the event. PiperOrigin-RevId: 713351371
1d0aba0e -
skanev authored
Fuzzer test was showing an out-of-bounds accesss on a repeated field somewhere in `ReadNonHeaderEventDataWithoutHeader`. Staring at the code found this one. PiperOrigin-RevId: 713486488
4071bb9b
Showing
- .bazelrc 6 additions, 0 deletions.bazelrc
- external/zlib.BUILD 0 additions, 61 deletionsexternal/zlib.BUILD
- src/perf_data_converter.cc 26 additions, 20 deletionssrc/perf_data_converter.cc
- src/perf_data_converter_test.cc 1 addition, 1 deletionsrc/perf_data_converter_test.cc
- src/quipper/perf_reader.cc 16 additions, 20 deletionssrc/quipper/perf_reader.cc
- src/quipper/perf_reader.h 1 addition, 1 deletionsrc/quipper/perf_reader.h
- src/quipper/perf_test_files.cc 8 additions, 0 deletionssrc/quipper/perf_test_files.cc
- src/quipper/testdata/perf.data.piped.header_features_aligned-6.12 0 additions, 0 deletions...per/testdata/perf.data.piped.header_features_aligned-6.12
- src/quipper/testdata/perf.data.piped.header_features_aligned-6.12.buildids 2 additions, 0 deletions...ata/perf.data.piped.header_features_aligned-6.12.buildids
- src/quipper/testdata/perf.data.piped.header_features_aligned-6.12.pr.out.pb_data 0 additions, 0 deletions...rf.data.piped.header_features_aligned-6.12.pr.out.pb_data
- src/quipper/testdata/perf.data.piped.header_features_aligned-6.12.pr.out.pb_text 920 additions, 0 deletions...rf.data.piped.header_features_aligned-6.12.pr.out.pb_text
external/zlib.BUILD
deleted
100644 → 0
File added
File added