SkyWalking offers two types of Profiling, in-process and out-process, each with its own API.
## In-process profiling APIs
[In-process profiling](../concepts-and-designs/profiling.md#in-process-profiling) commonly interacts with auto-instrument agents. It gathers stack traces of programs and sends the data to the OAP for further analysis.
[Out-process profiling](../concepts-and-designs/profiling.md#out-of-process-profiling) interacts with eBPF agent, which receives tasks and captures data, then reports it to the OAP for further analysis.
### Process APIs
Similar to Service Instance, all processes must be reported to the OAP storage segment prior to analysis.
Event query fetches the event list based on given sources and time range conditions.
### Profiling
SkyWalking offers two types of [profiling](../concepts-and-designs/profiling.md), in-process and out-process, allowing users to create tasks and check their execution status.