Method

SysprofDocumentlookup_process

Declaration [src]

SysprofDocumentProcess*
sysprof_document_lookup_process (
  SysprofDocument* self,
  int pid
)

Description [src]

Looks up a process by PID.

If multiple copies of the process exist, the result is undefined.

Parameters

pid

Type: int

The process identifier.

Return value

Type: SysprofDocumentProcess

A SysprofDocumentProcess or NULL.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.