Project

General

Profile

Actions

Bug #943

closed

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

Added by Jérémie Galarneau over 8 years ago. Updated about 8 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!
Actions #1

Updated by Jérémie Galarneau over 8 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
Actions #2

Updated by Mathieu Desnoyers about 8 years ago

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

Updated by Mathieu Desnoyers about 8 years ago

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

Applied in changeset modules|commit:5b4ad89f381e2c864395af2b762d75151c03fdb3.

Actions

Also available in: Atom PDF