mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-23 11:42:31 +08:00
Revert "fix: correct loading L0 loader functions"
This reverts commit 9c7b3c5e19.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e11ceb4a20
commit
f117b5fb68
@@ -107,8 +107,6 @@ int (*sysCallsGetDevicePath)(int deviceFd, char *buf, size_t &bufSize) = nullptr
|
||||
off_t lseekReturn = 4096u;
|
||||
std::atomic<int> lseekCalledCount(0);
|
||||
long sysconfReturn = 1ull << 30;
|
||||
std::string dlOpenFilePathPassed;
|
||||
bool captureDlOpenFilePath = false;
|
||||
|
||||
int mkdir(const std::string &path) {
|
||||
if (sysCallsMkdir != nullptr) {
|
||||
@@ -170,13 +168,6 @@ int openWithMode(const char *file, int flags, int mode) {
|
||||
void *dlopen(const char *filename, int flag) {
|
||||
dlOpenFlags = flag;
|
||||
dlOpenCalled = true;
|
||||
if (captureDlOpenFilePath) {
|
||||
if (filename) {
|
||||
dlOpenFilePathPassed = filename;
|
||||
} else {
|
||||
dlOpenFilePathPassed = {};
|
||||
}
|
||||
}
|
||||
return ::dlopen(filename, flag);
|
||||
}
|
||||
|
||||
|
||||
@@ -84,8 +84,6 @@ extern uint32_t munmapFuncCalled;
|
||||
|
||||
extern off_t lseekReturn;
|
||||
extern std::atomic<int> lseekCalledCount;
|
||||
extern bool captureDlOpenFilePath;
|
||||
extern std::string dlOpenFilePathPassed;
|
||||
|
||||
extern long sysconfReturn;
|
||||
} // namespace SysCalls
|
||||
|
||||
Reference in New Issue
Block a user