From f10719d4692fbb2e815fae404f4808a492fe904a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 2 Nov 2013 06:59:30 -0700 Subject: [PATCH] ofproto-dpif-upcall: Give each miss_handler thread a unique name. This may occasionally make debugging easier. Suggested-by: Keith Amidon Signed-off-by: Ben Pfaff Acked-by: Ethan Jackson --- ofproto/ofproto-dpif-upcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index 24a57296d..dba3d3be3 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall.c @@ -394,7 +394,7 @@ udpif_upcall_handler(void *arg) { struct handler *handler = arg; - set_subprogram_name("upcall_handler"); + set_subprogram_name("upcall_%u", ovsthread_id_self()); for (;;) { struct list misses = LIST_INITIALIZER(&misses); size_t i; -- 2.43.0