Found 2 other functions taking a
xTASK_SNAPSHOT
argument:
Fill a TaskSnapshot_t structure for specified task. - This function is used by the panic handler to get the snapshot of a particular task.
Fill an array of TaskSnapshot_t structures for every task in the system - This function is used by the panic handler to get a snapshot of all tasks in the system