git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d710edc
)
ofproto-dpif-upcall: Give each miss_handler thread a unique name.
author
Ben Pfaff
<blp@nicira.com>
Sat, 2 Nov 2013 13:59:30 +0000
(06:59 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Sat, 2 Nov 2013 13:59:30 +0000
(06:59 -0700)
This may occasionally make debugging easier.
Suggested-by: Keith Amidon <keith@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif-upcall.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto-dpif-upcall.c
b/ofproto/ofproto-dpif-upcall.c
index
24a5729
..
dba3d3b
100644
(file)
--- 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;