Back to index

glibc  2.9
Defines | Functions | Variables
td_symbol_list.c File Reference
#include <assert.h>
#include <gnu/lib-names.h>
#include "thread_dbP.h"

Go to the source code of this file.

Defines

#define DOT   /* No prefix. */

Functions

const char ** td_symbol_list (void)
int td_lookup (struct ps_prochandle *ps, int idx, psaddr_t *sym_addr)

Variables

static const char * symbol_list_arr []

Define Documentation

#define DOT   /* No prefix. */

Definition at line 28 of file td_symbol_list.c.


Function Documentation

int td_lookup ( struct ps_prochandle *  ps,
int  idx,
psaddr_t sym_addr 
)

Definition at line 58 of file td_symbol_list.c.

{
  assert (idx >= 0 && idx < NUM_MESSAGES);
  return ps_pglobal_lookup (ps, LIBPTHREAD_SO, symbol_list_arr[idx], sym_addr);
}

Here is the caller graph for this function:

const char** td_symbol_list ( void  )

Definition at line 51 of file td_symbol_list.c.

{
  return symbol_list_arr;
}

Variable Documentation

const char* symbol_list_arr[] [static]
Initial value:
{
  [PTHREAD_THREADS_EVENTS] = "__pthread_threads_events",
  [PTHREAD_LAST_EVENT] = "__pthread_last_event",
  [PTHREAD_HANDLES_NUM] = "__pthread_handles_num",
  [PTHREAD_HANDLES] = "__pthread_handles",
  [PTHREAD_KEYS] = "pthread_keys",
  [LINUXTHREADS_PTHREAD_THREADS_MAX] = "__linuxthreads_pthread_threads_max",
  [LINUXTHREADS_PTHREAD_KEYS_MAX] = "__linuxthreads_pthread_keys_max",
  [LINUXTHREADS_PTHREAD_SIZEOF_DESCR] = "__linuxthreads_pthread_sizeof_descr",
  [LINUXTHREADS_CREATE_EVENT] = DOT "__linuxthreads_create_event",
  [LINUXTHREADS_DEATH_EVENT] = DOT "__linuxthreads_death_event",
  [LINUXTHREADS_REAP_EVENT] = DOT "__linuxthreads_reap_event",
  [LINUXTHREADS_INITIAL_REPORT_EVENTS] = "__linuxthreads_initial_report_events",
  [LINUXTHREADS_VERSION] = "__linuxthreads_version",
  [NUM_MESSAGES] = NULL
}

Definition at line 31 of file td_symbol_list.c.