This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git
The following commit(s) were added to refs/heads/main by this push:
new 40d03c1 Make off cpu E2E more stable (#177)
40d03c1 is described below
commit 40d03c14d638339bf4aa6ec7376d421323de865a
Author: mrproliu <[email protected]>
AuthorDate: Mon Jan 13 19:04:09 2025 +0800
Make off cpu E2E more stable (#177)
---
pkg/profiling/task/offcpu/runner.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/profiling/task/offcpu/runner.go
b/pkg/profiling/task/offcpu/runner.go
index 8ce3ee6..218e3c6 100644
--- a/pkg/profiling/task/offcpu/runner.go
+++ b/pkg/profiling/task/offcpu/runner.go
@@ -140,7 +140,7 @@ func (r *Runner) findMatchesSymbol() []string {
if r.kernelProfiling == nil {
return []string{defaultKernelSymbol}
}
- res, err :=
r.kernelProfiling.FindMultipleSymbolByRegex(`finish_task_switch(\.\w+\.\d+)?`)
+ res, err :=
r.kernelProfiling.FindMultipleSymbolByRegex(`^finish_task_switch$|^finish_task_switch\.isra\.\d$`)
if err != nil {
log.Warnf("found symbol error: %v", err)
return []string{defaultKernelSymbol}