Move k_thread_foreach() API test from tests/kernel/profiling to tests/kernel/threads/thread_apis. Fixes #7966 Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Remove unnecessary deep hierarchy and put all tests on one level. Signed-off-by: Anas Nashif <anas.nashif@intel.com>