Commit f45d122
tracing: Kernel access to Ftrace instances
Ftrace provides the feature “instances” that provides the capability to
create multiple Ftrace ring buffers. However, currently these buffers
are created/accessed via userspace only. The kernel APIs providing these
features are not exported, hence cannot be used by other kernel
components.
This patch aims to extend this infrastructure to provide the
flexibility to create/log/remove/ enable-disable existing trace events
to these buffers from within the kernel.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Divya Indi <[email protected]>
Reviewed-by: Joe Jin <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>1 parent 40ed29b commit f45d122
2 files changed
+51
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3053 | 3053 | | |
3054 | 3054 | | |
3055 | 3055 | | |
| 3056 | + | |
3056 | 3057 | | |
3057 | 3058 | | |
3058 | 3059 | | |
| |||
3213 | 3214 | | |
3214 | 3215 | | |
3215 | 3216 | | |
| 3217 | + | |
3216 | 3218 | | |
3217 | 3219 | | |
3218 | 3220 | | |
| |||
8037 | 8039 | | |
8038 | 8040 | | |
8039 | 8041 | | |
8040 | | - | |
| 8042 | + | |
8041 | 8043 | | |
8042 | 8044 | | |
8043 | 8045 | | |
| |||
8101 | 8103 | | |
8102 | 8104 | | |
8103 | 8105 | | |
8104 | | - | |
| 8106 | + | |
8105 | 8107 | | |
8106 | 8108 | | |
8107 | 8109 | | |
| |||
8113 | 8115 | | |
8114 | 8116 | | |
8115 | 8117 | | |
8116 | | - | |
| 8118 | + | |
| 8119 | + | |
| 8120 | + | |
8117 | 8121 | | |
| 8122 | + | |
| 8123 | + | |
| 8124 | + | |
8118 | 8125 | | |
8119 | 8126 | | |
8120 | | - | |
| 8127 | + | |
8121 | 8128 | | |
8122 | | - | |
8123 | | - | |
8124 | | - | |
8125 | 8129 | | |
8126 | 8130 | | |
8127 | | - | |
8128 | | - | |
8129 | | - | |
8130 | | - | |
8131 | | - | |
8132 | | - | |
8133 | | - | |
8134 | | - | |
8135 | | - | |
8136 | | - | |
8137 | | - | |
8138 | | - | |
8139 | | - | |
8140 | | - | |
8141 | 8131 | | |
8142 | | - | |
| 8132 | + | |
8143 | 8133 | | |
8144 | 8134 | | |
8145 | 8135 | | |
| |||
8165 | 8155 | | |
8166 | 8156 | | |
8167 | 8157 | | |
| 8158 | + | |
8168 | 8159 | | |
8169 | | - | |
| 8160 | + | |
| 8161 | + | |
| 8162 | + | |
| 8163 | + | |
| 8164 | + | |
| 8165 | + | |
| 8166 | + | |
| 8167 | + | |
| 8168 | + | |
| 8169 | + | |
| 8170 | + | |
| 8171 | + | |
| 8172 | + | |
| 8173 | + | |
| 8174 | + | |
| 8175 | + | |
| 8176 | + | |
| 8177 | + | |
| 8178 | + | |
| 8179 | + | |
| 8180 | + | |
| 8181 | + | |
| 8182 | + | |
| 8183 | + | |
| 8184 | + | |
| 8185 | + | |
| 8186 | + | |
| 8187 | + | |
| 8188 | + | |
| 8189 | + | |
| 8190 | + | |
| 8191 | + | |
| 8192 | + | |
| 8193 | + | |
| 8194 | + | |
| 8195 | + | |
| 8196 | + | |
8170 | 8197 | | |
8171 | | - | |
8172 | 8198 | | |
8173 | 8199 | | |
8174 | 8200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
| 835 | + | |
835 | 836 | | |
836 | 837 | | |
837 | 838 | | |
| |||
0 commit comments