Skip to content

Commit aac3c98

Browse files
Addressing review comments
1 parent 3f207a4 commit aac3c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-exegesis/lib/RISCV/RISCVCounters.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RISCVCpuCyclesCounter::RISCVCpuCyclesCounter(pfm::PerfEvent &&Event)
6464
char Value[2] = "0";
6565
int File = 0;
6666
std::error_code FileError =
67-
sys::fs::openFileForRead("/proc/sys/kernel/watchdog", File);
67+
sys::fs::openFileForRead("/proc/sys/kernel/perf_user_access", File);
6868
sys::fs::file_t FileNative = sys::fs::convertFDToNativeFile(File);
6969
Expected<size_t> ReadBytes = sys::fs::readNativeFile(FileNative, Value);
7070

0 commit comments

Comments
 (0)