BSD syscall#44
svc · unix #44
profil
Enables execution profiling, writing samples into a user-provided buffer.
Prototype
int profil(short *bufbase, size_t bufsize, u_long pcoffset, u_int pcscale);Returns: int
Arguments
| Name | Type | Dir | Description |
|---|---|---|---|
| bufbase | short | - | |
| bufsize | size_t | - | |
| pcoffset | u_long | - | |
| pcscale | u_int | - |
Version history
| XNU tag | macOS | # |
|---|---|---|
| xnu-1456.1.26 | macOS 10.6 Snow Leopard | 44 |
| xnu-1699.24.8 | macOS 10.7 Lion | 44 |
| xnu-1486.2.11 | — | 44 |
| xnu-1504.15.3 | — | 44 |
| xnu-1504.3.12 | — | 44 |
| xnu-1504.7.4 | — | 44 |
| xnu-1504.9.17 | — | 44 |
| xnu-1504.9.26 | — | 44 |
| xnu-1504.9.37 | — | 44 |
| xnu-1699.22.73 | — | 44 |
| xnu-1699.22.81 | — | 44 |
| xnu-1699.24.23 | — | 44 |
| xnu-1699.26.8 | — | 44 |
| xnu-1699.32.7 | — | 44 |
Notes
No prose documentation yet.