Skip to content

Commit

Permalink
update: support Node.js v19 Kernel Traces (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGSS authored Mar 3, 2023
1 parent 6875aa3 commit 1b8b587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/trace-stacks-to-ticks.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function cleanupStackLine (line) {
// Linux 4.8 included symbol offsets in perf script output by default, eg:
// 7fffb84c9afc cpu_startup_entry+0x800047c022ec ([kernel.kallsyms])
// strip these off:
return rawfunc.replace(/\+0x[\da-f]+$/, '').replace(/^LazyCompile:|Function:|Script:/, '')
return rawfunc.replace(/\+0x[\da-f]+$/, '').replace(/^LazyCompile:|Function:|Script:|JS:/, '')
}
return line
}
Expand Down

0 comments on commit 1b8b587

Please sign in to comment.