[lttng-dev] Regarding lttng enable-event using filter option

Venkata Kantimahanthi venkata.kantimahanthi at tcs.com
Tue Mar 10 01:28:23 EDT 2015


Hi ,

I am trying to filter the following trace using lttng command but it was 
not filter out . Can any one help me?

[1970-01-01 00:04:58.386338797] (+0.000003280) oamhost 
com_ericsson_trithread:TRACE_UTS: { cpu_id = 19 }, { sec = 333, usec = 
2222, process = "test111", fileAndLine = "demo_legacy.c:123", msg = "This 
is a TRACE_UTS from test3", _dataUts_length = 0, dataUts = [ ] }
lttng enable-event -s sessionname -c ch1 -u -filter 'strfield =! 
"TRACE_UTS"' com_ericsson_tri*

o/p
Event com_ericsson_tri*: Filter 'strfield == "TRACE_UTS"' successfully set

So , If I have enabled above event with filter , the traces which have 
string field with TRACE_UTS as data should not be logged. This is as per 
my understanding. Is is correct ?

Because the traces were not filtered.

Thanks & Regards
Venkata Ranganadh Kantimahanthi
Tata Consultancy Services
Cell:- +919494595225
Mailto: venkata.kantimahanthi at tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Consulting
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150310/03c1dc79/attachment.html>


More information about the lttng-dev mailing list