]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
affinity: add log message
authorEric Leblond <eric@regit.org>
Wed, 5 Sep 2012 07:21:28 +0000 (09:21 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 6 Sep 2012 05:51:27 +0000 (07:51 +0200)
src/tm-threads.c

index e779b6fd7b65b9047e0483a027871096936b006e..5f32f12412aff210f373489f1a4e62cf31493d53 100644 (file)
@@ -1271,6 +1271,9 @@ TmEcode TmThreadSetupOptions(ThreadVars *tv)
         } else {
             SetCPUAffinitySet(&taf->cpu_set);
             tv->thread_priority = taf->prio;
+            SCLogInfo("Setting prio %d for \"%s\" thread "
+                      ", thread id %lu", tv->thread_priority,
+                      tv->name, SCGetThreadIdLong());
         }
         TmThreadSetPrio(tv);
     }