llvm-project/llvm/tools/llvm-exegesis/lib
Clement Courbet 6bddd099ac Revert "[llvm-exegesis] Add benchmark latency option on X86 that uses LBR for more precise measurements."
From @erichkeane:
```
This patch doesn't seem to build for me:
/iusers/ekeane1/workspaces/llvm-project/llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp: In function ‘llvm::Error llvm::exegesis::parseDataBuffer(const char*, size_t, const void*, const void*, llvm::SmallVector<long int, 4>*)’:
/iusers/ekeane1/workspaces/llvm-project/llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp:99:37: error: ‘struct perf_branch_entry’ has no member named ‘cycles’

CycleArray->push_back(Entry.cycles);
I'm on RHEL7, so I have kernel 3.10, so it doesn't have 'cycles'.

According ot this: https://elixir.bootlin.com/linux/v4.3/source/include/uapi/linux/perf_event.h#L963 kernel 4.3 is the first time that 'cycles' appeared in this structure.
```
2020-07-17 16:55:17 +02:00
..
AArch64 [llvm-exegesis][NFC] Disassociate snippet generators from benchmark runners 2020-01-20 16:19:13 +01:00
Mips [llvm-exegesis][NFC] Disassociate snippet generators from benchmark runners 2020-01-20 16:19:13 +01:00
PowerPC [llvm-exegesis][NFC] Disassociate snippet generators from benchmark runners 2020-01-20 16:19:13 +01:00
X86 Revert "[llvm-exegesis] Add benchmark latency option on X86 that uses LBR for more precise measurements." 2020-07-17 16:55:17 +02:00
Analysis.cpp [llvm-exegesis][NFC] Disassociate snippet generators from benchmark runners 2020-01-20 16:19:13 +01:00
Analysis.h [llvm-exegesis] Show noise cluster in analysis output. 2019-10-11 11:33:18 +00:00
Assembler.cpp Recommit: "[llvm-exegesis] Improve error reporting in Assembler.cpp" 2020-02-19 14:40:28 +01:00
Assembler.h Recommit: "[llvm-exegesis] Improve error reporting in Assembler.cpp" 2020-02-19 14:40:28 +01:00
BenchmarkCode.h [llvm-exegesis] Finish plumbing the `Config` field. 2019-10-08 09:06:48 +00:00
BenchmarkResult.cpp [llvm-exegesis][NFC] Remove extra `llvm::` qualifications. 2019-10-09 11:58:42 +00:00
BenchmarkResult.h [llvm-exegesis] Let Counter returns up to 16 entries 2020-06-26 10:57:20 -04:00
BenchmarkRunner.cpp Revert "[llvm-exegesis] Add benchmark latency option on X86 that uses LBR for more precise measurements." 2020-07-17 16:55:17 +02:00
BenchmarkRunner.h [llvm-exegesis] Let Counter returns up to 16 entries 2020-06-26 10:57:20 -04:00
CMakeLists.txt [llvm-exegesis] Add a custom error for clustering 2020-02-07 14:34:57 +01:00
Clustering.cpp Avoid including FileSystem.h from MemoryBuffer.h 2020-02-29 12:30:23 -08:00
Clustering.h [llvm-exegesis][NFC] Remove extra `llvm::` qualifications. 2019-10-09 11:58:42 +00:00
CodeTemplate.cpp [llvm-exegesis][NFC] internal changes 2019-12-18 17:24:07 +01:00
CodeTemplate.h [llvm-exegesis] Exploring X86::OperandType::OPERAND_COND_CODE 2020-02-12 21:33:52 +03:00
Error.cpp [llvm-exegesis] Improve error reporting in BenchmarkRunner.cpp 2020-02-07 16:29:52 +01:00
Error.h [llvm-exegesis] Improve error reporting in BenchmarkRunner.cpp 2020-02-07 16:29:52 +01:00
LLVMBuild.txt
LatencyBenchmarkRunner.cpp [llvm-exegesis] Let Counter returns up to 16 entries 2020-06-26 10:57:20 -04:00
LatencyBenchmarkRunner.h [llvm-exegesis] Let Counter returns up to 16 entries 2020-06-26 10:57:20 -04:00
LlvmState.cpp Remove unused Endian.h includes, NFC 2020-03-11 15:45:34 -07:00
LlvmState.h [llvm-exegesis] Fix r374158 2019-10-09 12:37:56 +00:00
MCInstrDescView.cpp Fix "expression is redundant [misc-redundant-expression]" warning (PR44768) 2020-02-04 21:24:21 +00:00
MCInstrDescView.h [llvm-exegesis][NFC] internal changes 2019-12-18 17:24:07 +01:00
ParallelSnippetGenerator.cpp [llvm-exegesis] Exploring X86::OperandType::OPERAND_COND_CODE 2020-02-12 21:33:52 +03:00
ParallelSnippetGenerator.h [llvm-exegesis] Exploring X86::OperandType::OPERAND_COND_CODE 2020-02-12 21:33:52 +03:00
PerfHelper.cpp Revert "[llvm-exegesis] Add benchmark latency option on X86 that uses LBR for more precise measurements." 2020-07-17 16:55:17 +02:00
PerfHelper.h Revert "[llvm-exegesis] Add benchmark latency option on X86 that uses LBR for more precise measurements." 2020-07-17 16:55:17 +02:00
RegisterAliasing.cpp [llvm-exegesis] Allow the randomizer to fail nicely... 2020-01-23 11:08:44 +01:00
RegisterAliasing.h [llvm-exegesis] Allow the randomizer to fail nicely... 2020-01-23 11:08:44 +01:00
RegisterValue.cpp Move endian constant from Host.h to SwapByteOrder.h, prune include 2019-10-19 00:48:11 +00:00
RegisterValue.h [llvm-exegesis][NFC] Remove extra `llvm::` qualifications. 2019-10-09 11:58:42 +00:00
SchedClassResolution.cpp [Tools] Fixes -Wrange-loop-analysis warnings 2019-12-22 19:11:17 +01:00
SchedClassResolution.h [llvm-exegesis][NFC] Remove extra `llvm::` qualifications. 2019-10-09 11:58:42 +00:00
SerialSnippetGenerator.cpp [llvm-exegesis] Exploring X86::OperandType::OPERAND_COND_CODE 2020-02-12 21:33:52 +03:00
SerialSnippetGenerator.h [llvm-exegesis] Exploring X86::OperandType::OPERAND_COND_CODE 2020-02-12 21:33:52 +03:00
SnippetFile.cpp [MC] De-capitalize another set of MCStreamer::Emit* functions 2020-02-14 19:26:52 -08:00
SnippetFile.h [llvm-exegesis][NFC] Refactor snippet file reading out of tool main. 2019-09-30 12:50:25 +00:00
SnippetGenerator.cpp [llvm-exegesis] Exploring X86::OperandType::OPERAND_COND_CODE 2020-02-12 21:33:52 +03:00
SnippetGenerator.h Don't stash types that aren't copyable or moveable into a SmallVector 2020-05-02 19:13:06 +02:00
SnippetRepetitor.cpp [llvm-exegesis] 'Min' repetition mode 2020-04-02 09:28:35 +03:00
SnippetRepetitor.h
Target.cpp [llvm-exegesis] Let Counter returns up to 16 entries 2020-06-26 10:57:20 -04:00
Target.h [llvm-exegesis] Let Counter returns up to 16 entries 2020-06-26 10:57:20 -04:00
TargetSelect.h
UopsBenchmarkRunner.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
UopsBenchmarkRunner.h [llvm-exegesis][NFC] Disassociate snippet generators from benchmark runners 2020-01-20 16:19:13 +01:00