#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <fibril.h>#include <errno.h>#include <udebug.h>#include <async.h>#include <task.h>#include <mem.h>#include <str.h>#include <bool.h>#include <loader/loader.h>#include <io/console.h>#include <io/keycode.h>#include <fibril_synch.h>#include <sys/types.h>#include <sys/typefmt.h>#include <libc.h>#include "proto.h"#include <ipc/services.h>#include "../../srv/vfs/vfs.h"#include <ipc/console.h>#include "syscalls.h"#include "ipcp.h"#include "errors.h"#include "trace.h"Go to the source code of this file.
Defines | |
| #define | THBUF_SIZE 64 |
Functions | |
| static int | cev_fibril (void *arg) |
| static void | cev_fibril_start (void) |
| static int | connect_task (task_id_t task_id) |
| static void | event_syscall_b (unsigned thread_id, uintptr_t thread_hash, unsigned sc_id, sysarg_t sc_rc) |
| static void | event_syscall_e (unsigned thread_id, uintptr_t thread_hash, unsigned sc_id, sysarg_t sc_rc) |
| static void | event_thread_b (uintptr_t hash) |
| static int | get_thread_list (void) |
| int | main (int argc, char *argv[]) |
| Main entry point. | |
| static void | main_init (void) |
| static int | parse_args (int argc, char *argv[]) |
| static display_mask_t | parse_display_mask (const char *text) |
| static loader_t * | preload_task (const char *path, char **argv, task_id_t *task_id) |
| static void | print_sc_args (sysarg_t *sc_args, int n) |
| static void | print_sc_retval (sysarg_t retval, val_type_t val_type) |
| static void | print_syntax () |
| static void | program_run (void) |
| static int | program_run_fibril (void *arg) |
| static void | sc_ipc_call_async_fast (sysarg_t *sc_args, sysarg_t sc_rc) |
| static void | sc_ipc_call_async_slow (sysarg_t *sc_args, sysarg_t sc_rc) |
| static void | sc_ipc_call_sync_fast (sysarg_t *sc_args) |
| static void | sc_ipc_call_sync_slow_b (unsigned thread_id, sysarg_t *sc_args) |
| static void | sc_ipc_call_sync_slow_e (unsigned thread_id, sysarg_t *sc_args) |
| static void | sc_ipc_wait (sysarg_t *sc_args, int sc_rc) |
| void | thread_trace_start (uintptr_t thread_hash) |
| static int | trace_loop (void *thread_hash_arg) |
| static void | trace_task (task_id_t task_id) |
| void | val_print (sysarg_t val, val_type_t v_type) |
Variables | |
| bool | abort_trace |
| static console_event_t | cev |
| static bool | cev_valid |
| display_mask_t | display_mask |
| Combination of events to print. | |
| int | n_threads |
| int | next_thread_id |
| static bool | paused |
| int | phoneid |
| static proto_t * | proto_console |
| static fibril_condvar_t | state_cv |
| static fibril_mutex_t | state_lock |
| static task_id_t | task_id |
| static loader_t * | task_ldr |
| static bool | task_wait_for |
| uintptr_t | thash |
| uintptr_t | thread_hash_buf [THBUF_SIZE] |
| ipc_call_t | thread_ipc_req [THBUF_SIZE] |
Definition in file trace.c.
1.4.7