From: Ben Pfaff Date: Sat, 2 Nov 2013 13:59:30 +0000 (-0700) Subject: ofproto-dpif-upcall: Give each miss_handler thread a unique name. X-Git-Tag: sliver-openvswitch-2.0.90-1~6^2~23 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f10719d4692fbb2e815fae404f4808a492fe904a;p=sliver-openvswitch.git 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 --- 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;