Commit ed0e0ae
tracing/user_events: Remove user_ns walk for groups
During discussions it was suggested that user_ns is not a good place to
try to attach a tracing namespace. The current code has stubs to enable
that work that are very likely to change and incur a performance cost.
Remove the user_ns walk when creating a group and determining the system
name to use, since it's unlikely user_ns will be used in the future.
Link: https://lore.kernel.org/all/20230601-urenkel-holzofen-cd9403b9cadd@brauner/
Link: https://lore.kernel.org/linux-trace-kernel/20230601224928.301-1-beaub@linux.microsoft.com
Suggested-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent 42187bd commit ed0e0ae
1 file changed
Lines changed: 5 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | 190 | | |
201 | 191 | | |
202 | 192 | | |
| |||
207 | 197 | | |
208 | 198 | | |
209 | 199 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | 200 | | |
220 | 201 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
| 202 | + | |
234 | 203 | | |
235 | 204 | | |
236 | | - | |
237 | | - | |
| 205 | + | |
238 | 206 | | |
239 | 207 | | |
240 | 208 | | |
| |||
243 | 211 | | |
244 | 212 | | |
245 | 213 | | |
246 | | - | |
| 214 | + | |
247 | 215 | | |
248 | 216 | | |
249 | 217 | | |
| |||
2603 | 2571 | | |
2604 | 2572 | | |
2605 | 2573 | | |
2606 | | - | |
| 2574 | + | |
2607 | 2575 | | |
2608 | 2576 | | |
2609 | 2577 | | |
| |||
0 commit comments