- if(g_strcasecmp(f->str,"pid") ) {}
- else if(g_strcasecmp(f->str,"ppid") ) {}
- else if(g_strcasecmp(f->str,"creation_time") ) {}
- else if(g_strcasecmp(f->str,"insertion_time") ) {}
- else if(g_strcasecmp(f->str,"process_name") ) {}
- else if(g_strcasecmp(f->str,"execution_mode") ) {}
- else if(g_strcasecmp(f->str,"execution_submode") ) {}
- else if(g_strcasecmp(f->str,"process_status") ) {}
- else if(g_strcasecmp(f->str,"cpu") ) {}
+ if(g_strcasecmp(f->str,"pid") ) {
+ se->field = LTTV_FILTER_STATE_PID;
+ }
+ else if(g_strcasecmp(f->str,"ppid") ) {
+ se->field = LTTV_FILTER_STATE_PPID;
+ }
+ else if(g_strcasecmp(f->str,"creation_time") ) {
+ se->field = LTTV_FILTER_STATE_CT;
+ }
+ else if(g_strcasecmp(f->str,"insertion_time") ) {
+ se->field = LTTV_FILTER_STATE_IT;
+ }
+ else if(g_strcasecmp(f->str,"process_name") ) {
+ se->field = LTTV_FILTER_STATE_P_NAME;
+ }
+ else if(g_strcasecmp(f->str,"execution_mode") ) {
+ se->field = LTTV_FILTER_STATE_EX_MODE;
+ }
+ else if(g_strcasecmp(f->str,"execution_submode") ) {
+ se->field = LTTV_FILTER_STATE_EX_SUBMODE;
+ }
+ else if(g_strcasecmp(f->str,"process_status") ) {
+ se->field = LTTV_FILTER_STATE_P_STATUS;
+ }
+ else if(g_strcasecmp(f->str,"cpu") ) {
+ se->field = LTTV_FILTER_STATE_CPU;
+ }