diff options
Diffstat (limited to 'plugin_mac80211.c')
| -rw-r--r-- | plugin_mac80211.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/plugin_mac80211.c b/plugin_mac80211.c index 766d9ce..497d564 100644 --- a/plugin_mac80211.c +++ b/plugin_mac80211.c | |||
| @@ -145,10 +145,11 @@ static void _print_flag(struct trace_seq *s, struct event_format *event, | |||
| 145 | #define SFX(fn) _print_field(s, fn ":%#x", event, fn, data) | 145 | #define SFX(fn) _print_field(s, fn ":%#x", event, fn, data) |
| 146 | #define SP() trace_seq_putc(s, ' ') | 146 | #define SP() trace_seq_putc(s, ' ') |
| 147 | 147 | ||
| 148 | static int drv_bss_info_changed(struct trace_seq *s, void *data, int size, | 148 | static int drv_bss_info_changed(struct trace_seq *s, struct record *record, |
| 149 | struct event_format *event, int cpu, | 149 | struct event_format *event) |
| 150 | unsigned long long nsecs) | ||
| 151 | { | 150 | { |
| 151 | void *data = record->data; | ||
| 152 | |||
| 152 | print_string(s, event, "wiphy_name", data); | 153 | print_string(s, event, "wiphy_name", data); |
| 153 | trace_seq_printf(s, " vif:"); | 154 | trace_seq_printf(s, " vif:"); |
| 154 | print_string(s, event, "vif_name", data); | 155 | print_string(s, event, "vif_name", data); |
| @@ -172,10 +173,11 @@ static int drv_bss_info_changed(struct trace_seq *s, void *data, int size, | |||
| 172 | return 0; | 173 | return 0; |
| 173 | } | 174 | } |
| 174 | 175 | ||
| 175 | static int drv_config(struct trace_seq *s, void *data, | 176 | static int drv_config(struct trace_seq *s, struct record *record, |
| 176 | int size, struct event_format *event, int cpu, | 177 | struct event_format *event) |
| 177 | unsigned long long nsecs) | ||
| 178 | { | 178 | { |
| 179 | void *data = record->data; | ||
| 180 | |||
| 179 | print_string(s, event, "wiphy_name", data); | 181 | print_string(s, event, "wiphy_name", data); |
| 180 | trace_seq_putc(s, ' '); | 182 | trace_seq_putc(s, ' '); |
| 181 | print_flag(s, event, "flags", data, | 183 | print_flag(s, event, "flags", data, |
