Project

General

Profile

Bug #357

Lttng event name length became one byte shorter when with filter.

Added by huafeng Wang about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Low
Target version:
-
Start date:
10/01/2012
Due date:
% Done:

0%

Estimated time:

Description

1.(provider:event) 127:127 without filter, it succeeded.

SC-1:~ # lttng enable-event this_domain_name_has_127_characters_it_does_not_follow_the_naming_convention_and_it_is_used_for_testing_purposes_only_yeah__127:this_event_name_has_127_characters_which_is_the_maximum_number_of_character_supported_man_i_still_need_some_more_characters_127 -u
UST event this_domain_name_has_127_characters_it_does_not_follow_the_naming_convention_and_it_is_used_for_testing_purposes_only_yeah__127:this_event_name_has_127_characters_which_is_the_maximum_number_of_character_supported_man_i_still_need_some_more_characters_127 created in channel channel0

2.(provider:event) 127:127 with filter, it failed.

SC-1:~ # lttng enable-event this_domain_name_has_127_characters_it_does_not_follow_the_naming_convention_and_it_is_used_for_testing_purposes_only_yeah__127:this_event_name_has_127_characters_which_is_the_maximum_number_of_character_supported_man_i_still_need_some_more_characters_127 -u --filter 'TenPs>3'
UST event this_domain_name_has_127_characters_it_does_not_follow_the_naming_convention_and_it_is_used_for_testing_purposes_only_yeah__127:this_event_name_has_127_characters_which_is_the_maximum_number_of_character_supported_man_i_still_need_some_more_characters_127 created in channel channel0
Error: Error setting filter
LTTng Trace Control 2.1.0-rc3 - Basse Messe

3.(provider:event) 127:126 with filter, it succeeded.

SC-1:~ # lttng enable-event this_domain_name_has_127_characters_it_does_not_follow_the_naming_convention_and_it_is_used_for_testing_purposes_only_yeah__127:this_event_name_has_127_characters_which_is_the_maximum_number_of_character_supported_man_i_still_need_some_more_characters_12 -u --filter 'TenPs>3'
UST event this_domain_name_has_127_characters_it_does_not_follow_the_naming_convention_and_it_is_used_for_testing_purposes_only_yeah__127:this_event_name_has_127_characters_which_is_the_maximum_number_of_character_supported_man_i_still_need_some_more_characters_12 created in channel channel0

Why we are short of char in eventName when we have filter. ?

Also available in: Atom PDF