FUNCTRACE_XLF_ENTER

Purpose

The FUNCTRACE_XLF_ENTER directive specifies that the procedure whose declaration immediately follows the directive is an entry tracing subroutine.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-FUNCTRACE_XLF_ENTER-----------------------------------------><

Rules

The entry tracing procedure must have the same characteristics as the following interface:
subroutine routine_name(procedure_name, file_name, line_number, id)
  use, intrinsic :: iso_c_binding
  character(*), intent(in) :: procedure_name
  character(*), intent(in) :: file_name
  integer(c_int), intent(in) :: line_number
  type(c_ptr), intent(inout) :: id
end subroutine

Related information

FUNCTRACE_XLF_CATCH

FUNCTRACE_XLF_EXIT

See the XL Fortran Compiler Reference for details about the -qfunctrace_xlf_enter compiler option.

See the XL Fortran Compiler Reference for details about the -qfunctrace compiler option.

For detailed information about how to implement procedure tracing routines in your code, as well as detailed examples and a list of rules for using them, see Tracing procedures in your code in the XL Fortran Optimization and Programming Guide.