sched: add thread name attribute

Useful for debugging and pthread_setname_np().

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
trace: record and display thread names

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
sched: name some core threads

idle, load balancer, init.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
xen: name interrupt threads

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
bsd: name some bsd-provided threads

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
dhcp: name the dhcp threads

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
percpu-worker: name the threads

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
rcu: name the threads

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
console: name the console thread

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
virtio: name virtio threads

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
libc: name some internal threads

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
libc: provide pthread_setname_np()

Useful for debugging.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
Merge branch 'sched'

Thread names

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>

Conflicts:
	core/sched.cc
	libc/timerfd.cc