Go to the source code of this file.
◆ main()
Definition at line 12 of file PAPI_get_executable_info.c.
13{
17
18
19
20
21
22
23
24
26 {
27 printf("Library initialization error! \n");
28 exit(1);
29 }
30
31
34
35
37 {
38 printf("PAPI_get_executable_info error! \n");
39 exit(1);
40 }
41
42
43 printf("Start text addess of user program is at %p\n",
45 printf("End text address of user program is at %p\n",
47
48 exit(0);
49}
Get the executable's address space info.
initialize the PAPI library.
get the executable's info
PAPI_address_map_t address_info