Browse Prior Art Database

Dynamic Thread Naming for Serviceability

IP.com Disclosure Number: IPCOM000120260D
Original Publication Date: 1997-Jan-01
Included in the Prior Art Database: 2005-Apr-02
Document File: 2 page(s) / 30K

Publishing Venue

IBM

Related People

Maddalozzo, J: AUTHOR

Abstract

Disclosed is a method for improving servicability in a multiprocessing system by allowing kernel threads to assume names corresponding to the task it is performing.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 100% of the total text.

Dynamic Thread Naming for Serviceability

      Disclosed is a method for improving servicability in a
multiprocessing system by allowing kernel threads to assume names
corresponding to the task it is performing.

      Threads are commonly identified via various debug tools as
either the Thread ID (TID) or by the name inherited from the parent
process.  Kernel threads may be started from the parent process to do
various tasks and the name that the thread exhibits through
serviceability and debug tools should reflect the specific task or
assignment.  This enhances the serviceability of the product.

      In some cases, there may be tens of threads, all with the same
name that are actually engaged in widely differing tasks, or may be
performing the same task for different kernel objects.  A short
character array of a specified size is kept in the kernel thread
structure, and the  name can be self-assigned by a call to a routine
which will error-check  the string and place it in the thread
structure.  Service tools pick up  the name from the thread if it
exists and display it.  This makes it easier to determine which
threads may be causing or experiencing difficulty and can be more
closely examined.