Lines Matching full:pid
8 Manage pid to process name mappings.
26 These functions can be used to handle the mapping between pid and process name.
28 of the process, instead of its pid. This information can be retrieved from
37 If a process with the same pid is already registered, the process name string is
42 The _tep_is_pid_registered()_ function checks if a pid has a process name
47 pid. The _pid_ argument is the process ID, _tep_ is the event context.
51 The _tep_data_pid_from_comm()_ function returns a pid for a given process name.
53 The argument _next_ is the cmdline structure to search for the next pid.
54 As there may be more than one pid for a given process, the result of this call
56 the next pid. If _next_ is NULL, it will return the first pid associated with
59 The _tep_cmdline_pid()_ function returns the pid associated with a given
77 string "<...>" if there is no mapping for the given pid.
80 holds a pid for a given process, or NULL if none is found. This result can be
83 _tep_cmdline_pid()_ functions returns the pid for the give cmdline. If _cmdline_
88 The following example registers pid for command "ls", in context of event _tep_
89 and performs various searches for pid / process name mappings:
102 /* Failed to register pid / command mapping */
114 int pid;
117 pid = tep_cmdline_pid(tep, cmd);
118 /* Found pid for process "ls" */