We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b96000 commit 83829b5Copy full SHA for 83829b5
lnt/testing/profile/cPerf.cpp
@@ -562,7 +562,7 @@ unsigned char *PerfReader::readEvent(unsigned char *Buf) {
562
if (E->header.type == PERF_RECORD_MMAP2) {
563
perf_event_mmap2 *E = (perf_event_mmap2 *)Buf;
564
if (!(E->prot & PROT_EXEC))
565
- break;
+ return &Buf[E->header.size];
566
auto MapID = Maps.size();
567
// EXEC ELF objects aren't relocated. DYN ones are,
568
// so if it's a DYN object adjust by subtracting the
0 commit comments