[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 7/8] include: add task_set_name
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 7/8] include: add task_set_name |
Date: |
Sat, 1 Feb 2014 15:28:02 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Sat 01 Feb 2014 15:09:27 +0100, a écrit :
> task_set_name sets the name of a task. This is a debugging aid. The
> name will be used in error messages printed by the kernel.
Ack.
> * include/mach/gnumach.defs (task_set_name): New procedure.
> ---
> include/mach/gnumach.defs | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/include/mach/gnumach.defs b/include/mach/gnumach.defs
> index 12c4e99..6cfbb0d 100644
> --- a/include/mach/gnumach.defs
> +++ b/include/mach/gnumach.defs
> @@ -27,6 +27,7 @@ subsystem
>
> #include <mach/std_types.defs>
> #include <mach/mach_types.defs>
> +#include <mach_debug/mach_debug_types.defs>
>
> type vm_cache_statistics_data_t = struct[11] of integer_t;
>
> @@ -63,3 +64,11 @@ simpleroutine thread_terminate_release(
> reply_port : mach_port_name_t;
> address : vm_address_t;
> size : vm_size_t);
> +
> +/*
> + * Set the name of task TASK to NAME. This is a debugging aid.
> + * NAME will be used in error messages printed by the kernel.
> + */
> +simpleroutine task_set_name(
> + task : task_t;
> + name : kernel_debug_name_t);
> --
> 1.8.5.2
>
--
Samuel
<y> update-menus: relocation error: update-menus: symbol
_ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E, version
GLIBCPP_3.2 not defined in file libstdc++.so.5 with link time reference
<y> quoi que ça peut bien vouloir dire ?
<D> N a eu la meme merde
<y> c ça que ça veut dire ? wow, c'est bien crypté :)
-+- #ens-mim s'entraide -+-
- [PATCH 1/8] kern: fix printing of kmem_cache names, Justus Winter, 2014/02/01
- [PATCH 2/8] kern: add snprintf, Justus Winter, 2014/02/01
- [PATCH 4/8] ipc: use the name of the task for error messages, Justus Winter, 2014/02/01
- [PATCH 3/8] kern: add a name field to struct task, Justus Winter, 2014/02/01
- [PATCH 7/8] include: add task_set_name, Justus Winter, 2014/02/01
- Re: [PATCH 7/8] include: add task_set_name,
Samuel Thibault <=
- [PATCH 5/8] include: add a fixed-size string type for debugging purposes, Justus Winter, 2014/02/01
- [PATCH 6/8] kern: implement task_set_name, Justus Winter, 2014/02/01
[PATCH 8/8] doc: document task_set_name, Justus Winter, 2014/02/01
Re: [PATCH 1/8] kern: fix printing of kmem_cache names, Samuel Thibault, 2014/02/01