From ebb1bcf1b562e246a3bcd891e0c8c0c5b318a9c4 Mon Sep 17 00:00:00 2001 From: Manuel Bischof Date: Fri, 5 May 2023 11:32:24 +0200 Subject: [PATCH] Bugfix --- plugins/apitracing/src/lib/Tracer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/apitracing/src/lib/Tracer.cpp b/plugins/apitracing/src/lib/Tracer.cpp index 916bfc87..0cb7c78a 100644 --- a/plugins/apitracing/src/lib/Tracer.cpp +++ b/plugins/apitracing/src/lib/Tracer.cpp @@ -133,7 +133,7 @@ namespace ApiTracing return true; } // TODO this fucks up because there is no tracing definition for this process - if (tracedProcesses.contains(processInformation.parentPid)) + if (tracedProcesses.empty() || tracedProcesses.contains(processInformation.parentPid)) { return false; // TODO evaluate trace childs and find a way to define which processTracingConfig should be // used