libgomp/ChangeLog 2022-06-10 Mohamed Atef * ompd-helper.h (DEREFERENCE, ACCESS_VALUE): New macros. * ompd-helper.c (gompd_get_nthread, gompd_get_thread_limit, gomp_get_run_shed, gompd_get_run_sched_chunk_size, gompd_get_default_device, gompd_get_dynamic, gompd_get_max_active_levels, gompd_get_proc_bind, gompd_is_final, gompd_is_implicit, gompd_get_team_size): defined. * ompd-icv.c (ompd_get_icv_from_scope): call the previous fincions, thread_handle, task_handle and parallel handle: New variable. Fix format in ashandle definition. * ompd-init.c: call GET_VALUE with sizeof_short for gompd_state. * ompd-support.h (gompd_state): size of short instead of long. (GOMPD_FOREACH_ACCESS): Add gompd_access (gomp_task, kind) gompd_access (gomp_task, final_task) gompd_access (gomp_team, nthreads) * ompd-support.c: Define gompd_get_offset gompd_get_sizeof_member gompd_get_size. (gompd_load): Remove gompd_init_access, gompd_init_sizeof_members, gompd_init_sizes define gompd_access_gomp_thread_handle with __UINT16_TYPE__.