mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-13 11:01:02 +00:00
Merge pull request #12403 from donaldsharp/echo_exclusion
Echo exclusion
This commit is contained in:
commit
39fc44d51a
@ -447,7 +447,8 @@ static int vty_command(struct vty *vty, char *buf)
|
||||
/*
|
||||
* Log non empty command lines
|
||||
*/
|
||||
if (do_log_commands)
|
||||
if (do_log_commands &&
|
||||
strncmp(buf, "echo PING", strlen("echo PING")) != 0)
|
||||
cp = buf;
|
||||
if (cp != NULL) {
|
||||
/* Skip white spaces. */
|
||||
|
@ -123,6 +123,49 @@ TRACEPOINT_EVENT(
|
||||
)
|
||||
)
|
||||
|
||||
TRACEPOINT_EVENT(
|
||||
frr_zebra,
|
||||
netlink_tc_qdisc_change,
|
||||
TP_ARGS(
|
||||
struct nlmsghdr *, header,
|
||||
ns_id_t, ns_id,
|
||||
int, startup),
|
||||
TP_FIELDS(
|
||||
ctf_integer_hex(intptr_t, header, header)
|
||||
ctf_integer(uint32_t, ns_id, ns_id)
|
||||
ctf_integer(uint32_t, startup, startup)
|
||||
)
|
||||
)
|
||||
|
||||
TRACEPOINT_EVENT(
|
||||
frr_zebra,
|
||||
netlink_tc_class_change,
|
||||
TP_ARGS(
|
||||
struct nlmsghdr *, header,
|
||||
ns_id_t, ns_id,
|
||||
int, startup),
|
||||
TP_FIELDS(
|
||||
ctf_integer_hex(intptr_t, header, header)
|
||||
ctf_integer(uint32_t, ns_id, ns_id)
|
||||
ctf_integer(uint32_t, startup, startup)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
TRACEPOINT_EVENT(
|
||||
frr_zebra,
|
||||
netlink_tc_filter_change,
|
||||
TP_ARGS(
|
||||
struct nlmsghdr *, header,
|
||||
ns_id_t, ns_id,
|
||||
int, startup),
|
||||
TP_FIELDS(
|
||||
ctf_integer_hex(intptr_t, header, header)
|
||||
ctf_integer(uint32_t, ns_id, ns_id)
|
||||
ctf_integer(uint32_t, startup, startup)
|
||||
)
|
||||
)
|
||||
|
||||
#include <lttng/tracepoint-event.h>
|
||||
|
||||
#endif /* HAVE_LTTNG */
|
||||
|
Loading…
Reference in New Issue
Block a user