diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2019-05-25 19:58:01 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-07-16 22:14:48 +0300 |
commit | 0aeb1def44169cbe7119f26cf10b974a2046142e (patch) | |
tree | a6cb17c4e7cb611b4ccc619702d4cb9b37da227b /tools/testing/selftests/cgroup/test_memcontrol.c | |
parent | 5967bd5c4239be449744a1471daf60c866486c24 (diff) | |
download | linux-0aeb1def44169cbe7119f26cf10b974a2046142e.tar.xz |
tracing: Make trace_get_fields() global
trace_get_fields() is the only way to read tracepoint fields at
run time, as their fields are defined at compile-time with macros.
Make this function visible to all users and it will be used by
trace event injection code to calculate the size of a tracepoint
entry.
Link: http://lkml.kernel.org/r/20190525165802.25944-4-xiyou.wangcong@gmail.com
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/selftests/cgroup/test_memcontrol.c')
0 files changed, 0 insertions, 0 deletions