diff --git a/src/profile-logic/import/linux-perf.js b/src/profile-logic/import/linux-perf.js index 89f28f01dd..13d6cf6401 100644 --- a/src/profile-logic/import/linux-perf.js +++ b/src/profile-logic/import/linux-perf.js @@ -304,7 +304,9 @@ export function convertPerfScriptProfile( } // 23fe921 _ZN7mozilla3ipc14MessageChannel11MessageTask3RunEv (/home/mstange/Desktop/firefox/libxul.so) - const stackFrameMatch = /^\s*(\w+)\s*(.+) \((\S*)\)/.exec(stackFrameLine); + const stackFrameMatch = /^\s*(\w+)\s*(.+) \(([^)]*)\)/.exec( + stackFrameLine + ); if (stackFrameMatch) { // const pc = stackFrameMatch[1]; let rawFunc = stackFrameMatch[2];