Project

General

Profile

Bug #943

All events are filtered-out when using a wildcard in a filter's criterion

Added by Jérémie Galarneau almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
09/29/2015
Due date:
% Done:

100%

Estimated time:

Description

While applying a filter to syscalls of the form:

$ lttng enable-event --kernel --syscall --all --filter 'filename == "*"'

[12:46:10.047113455] (+0.009323468) XThink syscall_entry_open: { cpu_id = 1 }, { filename = "/home/jgalar/.config/chromium/Default", flags = 524288, mode = 420 }
[12:46:10.615910212] (+0.568796757) XThink syscall_entry_open: { cpu_id = 2 }, { filename = "/home/jgalar/.config/chromium/Default/.org.chromium.Chromium.nMsMbS", flags = 194, mode = 384 }
[12:46:10.615965534] (+0.000055322) XThink syscall_entry_open: { cpu_id = 2 }, { filename = "/home/jgalar/.config/chromium/Default/.org.chromium.Chromium.nMsMbS", flags = 1, mode = 384 }

works, it seems that a more complex string results in no events being traced.

$ lttng enable-event --kernel --syscall --all --filter 'filename == "/home/jgalar*"'

... no events!
#1

Updated by Jérémie Galarneau almost 5 years ago

$ uname -a
Linux XThink 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64 GNU/Linux

lttng-modules master @ 0112cb7
#2

Updated by Mathieu Desnoyers over 4 years ago

  • Status changed from New to Confirmed
  • Assignee set to Mathieu Desnoyers
  • Target version set to 2.7
#3

Updated by Mathieu Desnoyers over 4 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100

Applied in changeset modules|commit:5b4ad89f381e2c864395af2b762d75151c03fdb3.

Also available in: Atom PDF