automotive-dlt
dlt-kpi-process.c File Reference
#include "dlt-kpi-process.h"
#include <pthread.h>
#include <unistd.h>
Include dependency graph for dlt-kpi-process.c:

Go to the source code of this file.

Functions

DltReturnValue dlt_kpi_read_process_file_to_str (pid_t pid, char **target_str, char *subdir)
 
unsigned long int dlt_kpi_read_process_stat_to_ulong (pid_t pid, unsigned int index)
 
DltReturnValue dlt_kpi_read_process_stat_cmdline (pid_t pid, char **buffer)
 
DltReturnValue dlt_kpi_process_update_io_wait (DltKpiProcess *process, unsigned long int time_dif_ms)
 
DltReturnValue dlt_kpi_process_update_cpu_time (DltKpiProcess *process, unsigned long int time_dif_ms)
 
DltReturnValue dlt_kpi_process_update_rss (DltKpiProcess *process)
 
DltReturnValue dlt_kpi_process_update_ctx_switches (DltKpiProcess *process)
 
DltReturnValue dlt_kpi_process_update_io_bytes (DltKpiProcess *process)
 
DltReturnValue dlt_kpi_update_process (DltKpiProcess *process, unsigned long int time_dif_ms)
 
DltKpiProcessdlt_kpi_create_process (int pid)
 
DltKpiProcessdlt_kpi_clone_process (DltKpiProcess *original)
 
DltReturnValue dlt_kpi_free_process (DltKpiProcess *process)
 
DltReturnValue dlt_kpi_print_process (DltKpiProcess *process)
 
DltReturnValue dlt_kpi_get_msg_process_update (DltKpiProcess *process, char *buffer, int maxlen)
 
DltReturnValue dlt_kpi_get_msg_process_new (DltKpiProcess *process, char *buffer, int maxlen)
 
DltReturnValue dlt_kpi_get_msg_process_stop (DltKpiProcess *process, char *buffer, int maxlen)
 
DltReturnValue dlt_kpi_get_msg_process_commandline (DltKpiProcess *process, char *buffer, int maxlen)
 

Detailed Description

Author
Sven Hassler sven_.nosp@m.hass.nosp@m.ler@m.nosp@m.ento.nosp@m.r.com

Definition in file dlt-kpi-process.c.

Function Documentation

DltKpiProcess* dlt_kpi_clone_process ( DltKpiProcess original)
DltReturnValue dlt_kpi_get_msg_process_commandline ( DltKpiProcess process,
char *  buffer,
int  maxlen 
)
DltReturnValue dlt_kpi_get_msg_process_new ( DltKpiProcess process,
char *  buffer,
int  maxlen 
)
DltReturnValue dlt_kpi_get_msg_process_stop ( DltKpiProcess process,
char *  buffer,
int  maxlen 
)
DltReturnValue dlt_kpi_process_update_cpu_time ( DltKpiProcess process,
unsigned long int  time_dif_ms 
)
DltReturnValue dlt_kpi_process_update_io_wait ( DltKpiProcess process,
unsigned long int  time_dif_ms 
)
DltReturnValue dlt_kpi_read_process_file_to_str ( pid_t  pid,
char **  target_str,
char *  subdir 
)
DltReturnValue dlt_kpi_read_process_stat_cmdline ( pid_t  pid,
char **  buffer 
)
unsigned long int dlt_kpi_read_process_stat_to_ulong ( pid_t  pid,
unsigned int  index 
)