Changeset 443 for trunk/kernel/syscalls/syscalls.h
- Timestamp:
- May 16, 2018, 4:15:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/syscalls.h
r440 r443 170 170 * [10] This function implement the exit system call terminating a POSIX process. 171 171 * It can be called by any thread running in any cluster. 172 * It uses both remote accesses to access the owner process descriptor, an sthe173 * RPC_PROCESS_SIGACTION to delete remote process and thread descriptors 172 * It uses both remote accesses to access the owner process descriptor, and the 173 * RPC_PROCESS_SIGACTION to delete remote process and thread descriptors. 174 174 * In the present implementation, this function implements actually the _exit(): 175 175 * - it does not flush open output streams. … … 600 600 601 601 /****************************************************************************************** 602 * [47] This non-standard function is used to activate / desactivate the trace for a thread603 * identified by the <trdid> and <pid> arguments.602 * [47] This debug function is used to activate / desactivate the context switches trace 603 * for a core identified by the <cxy> and <lid> arguments. 604 604 * It can be called by any other thread in the same process. 605 605 ****************************************************************************************** 606 * @ operation : operation type as defined below.607 * @ pid : processidentifier.608 * @ trdid : thread identifier.606 * @ active : activate trace if true / desactivate trace if false. 607 * @ cxy : cluster identifier. 608 * @ lid : core local index. 609 609 * @ returns O if success / returns -1 if failure. 610 610 *****************************************************************************************/ 611 int sys_trace( uint32_t operation,612 pid_t pid,613 uint32_t trdid );611 int sys_trace( bool_t active, 612 cxy_t cxy, 613 lid_t lid ); 614 614 615 615 /******************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.