forked from FRRouting/frr
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zebra,tools: cleaning up subdir and fixing missing LTTng snapshot issue
After upgrading to FRR 8.3, the FRR LTTng profile is not being properly linked, causing a failure to collect LTTng traces when executing cl-support. To fix this issue, the correct profile has been included and the path where the logs are recorded has been updated. with this fix: lttng list: frr-snapshot-zebra-onboot () [active snapshot] frr-snapshot-onboot () [active snapshot] sample output: root@tor-11:mgmt:/var/support/cl_support_tor-11/var/log/lttng-traces# /usr/lib/frr/frr_babeltrace.py frr-snapshot-zebra-onboot/ 2023-07-25T22:31:17.231 frr_zebra:netlink_interface {'header': 93955466105792, 'ns_id': 0, 'startup': 1} 2023-07-25T22:31:17.231 frr_zebra:if_add_update {'ifindex': 1, 'vrfid': 0, 'ifp': 'lo', 'interface': 'Interface Index added'} 2023-07-25T22:31:17.231 frr_zebra:netlink_interface {'header': 93955466107112, 'ns_id': 0, 'startup': 1} Ticket: #3554224 Signed-off-by: Rajesh Varatharaj <[email protected]>
- Loading branch information
1 parent
de56d3c
commit 5efc40a
Showing
3 changed files
with
73 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<sessions> | ||
<session> | ||
<name>frr-snapshot-onboot</name> | ||
<domains> | ||
<domain> | ||
<type>UST</type> | ||
<buffer_type>PER_UID</buffer_type> | ||
<channels> | ||
<channel> | ||
<name>channel0</name> | ||
<enabled>true</enabled> | ||
<overwrite_mode>OVERWRITE</overwrite_mode> | ||
<subbuffer_size>524288</subbuffer_size> | ||
<subbuffer_count>4</subbuffer_count> | ||
<switch_timer_interval>0</switch_timer_interval> | ||
<read_timer_interval>0</read_timer_interval> | ||
<output_type>MMAP</output_type> | ||
<blocking_timeout>0</blocking_timeout> | ||
<monitor_timer_interval>1000000</monitor_timer_interval> | ||
<tracefile_size>0</tracefile_size> | ||
<tracefile_count>0</tracefile_count> | ||
<live_timer_interval>0</live_timer_interval> | ||
<events> | ||
<event> | ||
<name>frr_bgp:evpn*</name> | ||
<enabled>true</enabled> | ||
<type>TRACEPOINT</type> | ||
<loglevel_type>ALL</loglevel_type> | ||
</event> | ||
</events> | ||
<contexts/> | ||
</channel> | ||
</channels> | ||
<trackers/> | ||
</domain> | ||
<domain> | ||
<type>JUL</type> | ||
<buffer_type>PER_UID</buffer_type> | ||
<channels/> | ||
</domain> | ||
<domain> | ||
<type>LOG4J</type> | ||
<buffer_type>PER_UID</buffer_type> | ||
<channels/> | ||
</domain> | ||
<domain> | ||
<type>PYTHON</type> | ||
<buffer_type>PER_UID</buffer_type> | ||
<channels/> | ||
</domain> | ||
</domains> | ||
<started>true</started> | ||
<attributes> | ||
<snapshot_mode>true</snapshot_mode> | ||
</attributes> | ||
<output> | ||
<snapshot_outputs> | ||
<output> | ||
<name>snapshot-1</name> | ||
<max_size>0</max_size> | ||
<consumer_output> | ||
<enabled>true</enabled> | ||
<destination> | ||
<path>/var/log/lttng-traces/frr-snapshot-onboot</path> | ||
</destination> | ||
</consumer_output> | ||
</output> | ||
</snapshot_outputs> | ||
</output> | ||
</session> | ||
</sessions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters