Home
last modified time | relevance | path

Searched refs:mmap_ (Results 1 – 2 of 2) sorted by relevance

/developtools/profiler/hiebpf/include/
Delf_file.h165 if (mmap_ != MMAP_FAILED) { in GetStrPtr()
166 char *elfFileBegin = (char *)mmap_; in GetStrPtr()
179 if (mmap_ != MMAP_FAILED) { in GetSectionData()
180 const unsigned char *elfFileBegin = (const unsigned char *)mmap_; in GetSectionData()
209 void *mmap_ = MMAP_FAILED; variable
/developtools/profiler/hiebpf/src/
Delf_file.cpp31 mmap_ = mmap(0, sb.st_size, PROT_READ, MAP_PRIVATE, fd_, 0); in ElfFile()
32 if (mmap_ == MMAP_FAILED) { in ElfFile()
45 if (mmap_ != MMAP_FAILED) { in ~ElfFile()
46 munmap(mmap_, mmapSize_); in ~ElfFile()