summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkuri igen <kuri@e4.enlightenment.org>2011-01-26 09:33:12 +0100
committerkuri igen <kuri@e4.enlightenment.org>2011-01-26 09:33:12 +0100
commit630839c8a2ccb48d35afe60a65d7eb8823c2c84b (patch)
tree2e1c8e1a2a88d65f8d33735a0ff2cfc4a5dd1e8b
parent807baaaa00dfebd0ef77fc84232449aab045cd37 (diff)
Add eina_counter_new()
-rw-r--r--src/bin/spy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/spy.c b/src/bin/spy.c
index 307f533..524a095 100644
--- a/src/bin/spy.c
+++ b/src/bin/spy.c
@@ -141,6 +141,7 @@ int spy_event(void *data, Ecore_File_Monitor *em, Ecore_File_Event event, const
141 char *counterresult; 141 char *counterresult;
142 if( !log ) 142 if( !log )
143 return(ECORE_CALLBACK_RENEW); 143 return(ECORE_CALLBACK_RENEW);
144 counter = eina_counter_new("MessageProcessingTime");
144 eina_counter_start(counter); 145 eina_counter_start(counter);
145 // If logfile got trunc, than size is different 146 // If logfile got trunc, than size is different
146 logfiles_getsize((char *)path, &filesize); 147 logfiles_getsize((char *)path, &filesize);
@@ -169,7 +170,6 @@ int spy_event(void *data, Ecore_File_Monitor *em, Ecore_File_Event event, const
169 170
170 logmessages_new(&new_logmessage, message, log->name); 171 logmessages_new(&new_logmessage, message, log->name);
171 172
172
173 rules_filtermessage(new_logmessage); 173 rules_filtermessage(new_logmessage);
174 174
175 // Now we only have to send this filtered message to ES 175 // Now we only have to send this filtered message to ES