| .. | .. |
|---|
| 95 | 95 | TRACE_EVENT(br_fdb_update, |
|---|
| 96 | 96 | |
|---|
| 97 | 97 | TP_PROTO(struct net_bridge *br, struct net_bridge_port *source, |
|---|
| 98 | | - const unsigned char *addr, u16 vid, bool added_by_user), |
|---|
| 98 | + const unsigned char *addr, u16 vid, unsigned long flags), |
|---|
| 99 | 99 | |
|---|
| 100 | | - TP_ARGS(br, source, addr, vid, added_by_user), |
|---|
| 100 | + TP_ARGS(br, source, addr, vid, flags), |
|---|
| 101 | 101 | |
|---|
| 102 | 102 | TP_STRUCT__entry( |
|---|
| 103 | 103 | __string(br_dev, br->dev->name) |
|---|
| 104 | 104 | __string(dev, source->dev->name) |
|---|
| 105 | 105 | __array(unsigned char, addr, ETH_ALEN) |
|---|
| 106 | 106 | __field(u16, vid) |
|---|
| 107 | | - __field(bool, added_by_user) |
|---|
| 107 | + __field(unsigned long, flags) |
|---|
| 108 | 108 | ), |
|---|
| 109 | 109 | |
|---|
| 110 | 110 | TP_fast_assign( |
|---|
| .. | .. |
|---|
| 112 | 112 | __assign_str(dev, source->dev->name); |
|---|
| 113 | 113 | memcpy(__entry->addr, addr, ETH_ALEN); |
|---|
| 114 | 114 | __entry->vid = vid; |
|---|
| 115 | | - __entry->added_by_user = added_by_user; |
|---|
| 115 | + __entry->flags = flags; |
|---|
| 116 | 116 | ), |
|---|
| 117 | 117 | |
|---|
| 118 | | - TP_printk("br_dev %s source %s addr %02x:%02x:%02x:%02x:%02x:%02x vid %u added_by_user %d", |
|---|
| 118 | + TP_printk("br_dev %s source %s addr %02x:%02x:%02x:%02x:%02x:%02x vid %u flags 0x%lx", |
|---|
| 119 | 119 | __get_str(br_dev), __get_str(dev), __entry->addr[0], |
|---|
| 120 | 120 | __entry->addr[1], __entry->addr[2], __entry->addr[3], |
|---|
| 121 | 121 | __entry->addr[4], __entry->addr[5], __entry->vid, |
|---|
| 122 | | - __entry->added_by_user) |
|---|
| 122 | + __entry->flags) |
|---|
| 123 | 123 | ); |
|---|
| 124 | 124 | |
|---|
| 125 | 125 | |
|---|