diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-21 16:59:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-21 16:59:51 -0400 |
commit | f79ec886f994918de057dd224fa2dfdc162bb3c3 (patch) | |
tree | 8d66a5ebf3d2f9475a908b7c5b37675965ee1c8d /kernel/trace/trace.h | |
parent | b0a752818bdba3d0fe9de593618ccab9f1101508 (diff) | |
parent | f86f418059b94aa01f9342611a272ca60c583e89 (diff) |
Merge tag 'trace-v4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull tracing fixes from Steven Rostedt:
"Three minor updates
- Use the new GFP_RETRY_MAYFAIL to be more aggressive in allocating
memory for the ring buffer without causing OOMs
- Fix a memory leak in adding and removing instances
- Add __rcu annotation to be able to debug RCU usage of function
tracing a bit better"
* tag 'trace-v4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
trace: fix the errors caused by incompatible type of RCU variables
tracing: Fix kmemleak in instance_rmdir
tracing/ring_buffer: Try harder to allocate
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 6ade1c55cc3a..490ba229931d 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -1210,9 +1210,9 @@ struct ftrace_event_field { | |||
1210 | struct event_filter { | 1210 | struct event_filter { |
1211 | int n_preds; /* Number assigned */ | 1211 | int n_preds; /* Number assigned */ |
1212 | int a_preds; /* allocated */ | 1212 | int a_preds; /* allocated */ |
1213 | struct filter_pred *preds; | 1213 | struct filter_pred __rcu *preds; |
1214 | struct filter_pred *root; | 1214 | struct filter_pred __rcu *root; |
1215 | char *filter_string; | 1215 | char *filter_string; |
1216 | }; | 1216 | }; |
1217 | 1217 | ||
1218 | struct event_subsystem { | 1218 | struct event_subsystem { |