MOS Source Code
Loading...
Searching...
No Matches
tasks.cpp File Reference
+ Include dependency graph for tasks.cpp:

Go to the source code of this file.

Macros

#define PROCESS_HASHTABLE_SIZE   512
 
#define THREAD_HASHTABLE_SIZE   512
 

Functions

static void dump_process (void)
 
 MOS_PANIC_HOOK (dump_process, "Dump current process")
 
static bool tasks_sysfs_process_list (sysfs_file_t *f)
 
static bool tasks_sysfs_thread_list (sysfs_file_t *f)
 
 SYSFS_AUTOREGISTER (tasks, task_sysfs_items)
 

Variables

static sysfs_item_t task_sysfs_items []
 

Macro Definition Documentation

◆ PROCESS_HASHTABLE_SIZE

#define PROCESS_HASHTABLE_SIZE   512

Definition at line 18 of file tasks.cpp.

◆ THREAD_HASHTABLE_SIZE

#define THREAD_HASHTABLE_SIZE   512

Definition at line 19 of file tasks.cpp.

Function Documentation

◆ dump_process()

static void dump_process ( void )
static

Definition at line 21 of file tasks.cpp.

Referenced by MOS_PANIC_HOOK().

+ Here is the call graph for this function:

◆ MOS_PANIC_HOOK()

MOS_PANIC_HOOK ( dump_process ,
"Dump current process"  )
+ Here is the call graph for this function:

◆ tasks_sysfs_process_list()

static bool tasks_sysfs_process_list ( sysfs_file_t * f)
static

Definition at line 43 of file tasks.cpp.

+ Here is the call graph for this function:

◆ tasks_sysfs_thread_list()

static bool tasks_sysfs_thread_list ( sysfs_file_t * f)
static

Definition at line 51 of file tasks.cpp.

+ Here is the call graph for this function:

◆ SYSFS_AUTOREGISTER()

SYSFS_AUTOREGISTER ( tasks ,
task_sysfs_items  )

Variable Documentation

◆ task_sysfs_items

sysfs_item_t task_sysfs_items[]
static
Initial value:
= {
}
#define SYSFS_RO_ITEM(_name, _show_fn)
Definition sysfs.hpp:42
static bool tasks_sysfs_process_list(sysfs_file_t *f)
Definition tasks.cpp:43
static bool tasks_sysfs_thread_list(sysfs_file_t *f)
Definition tasks.cpp:51

Definition at line 59 of file tasks.cpp.

Referenced by SYSFS_AUTOREGISTER().