diag "Listing event-rule-matches kernel probe"
- channel_enable_addr=$(grep 'lttng_channel_enable' /proc/kallsyms | cut -f 1 -d ' ')
- channel_disable_addr=$(grep 'lttng_channel_disable' /proc/kallsyms | cut -f 1 -d ' ')
+ channel_enable_addr=$(grep '\<lttng_channel_enable\>' /proc/kallsyms | cut -f 1 -d ' ')
+ channel_disable_addr=$(grep '\<lttng_channel_disable\>' /proc/kallsyms | cut -f 1 -d ' ')
# We need to find a valid offset.
base_symbol=""
condition: buffer usage high
session name: the-session-name
channel name: the-channel-name
- domain: ust
+ domain: user space
threshold (bytes): 1234
errors: none
actions:
condition: buffer usage high
session name: the-session-name
channel name: the-channel-name
- domain: ust
+ domain: user space
threshold (ratio): 0.25
errors: none
actions:
condition: buffer usage low
session name: the-session-name
channel name: the-channel-name
- domain: ust
+ domain: user space
threshold (bytes): 2345
errors: none
actions:
condition: buffer usage low
session name: the-session-name
channel name: the-channel-name
- domain: ust
+ domain: user space
threshold (ratio): 0.40
errors: none
actions: