Commit 594d281
committed
Merge tag 'trace-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing updates from Steven Rostedt:
- Remove unused ftrace_direct_funcs variables
- Fix a possible NULL pointer dereference race in eventfs
- Update do_div() usage in trace event benchmark test
- Speedup direct function registration with asynchronous RCU callback.
The synchronization was done in the registration code and this caused
delays when registering direct callbacks. Move the freeing to a
call_rcu() that will prevent delaying of the registering.
- Replace simple_strtoul() usage with kstrtoul()
* tag 'trace-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
eventfs: Fix a possible null pointer dereference in eventfs_find_events()
ftrace: Fix possible use-after-free issue in ftrace_location()
ftrace: Remove unused global 'ftrace_direct_func_count'
ftrace: Remove unused list 'ftrace_direct_funcs'
tracing: Improve benchmark test performance by using do_div()
ftrace: Use asynchronous grace period for register_ftrace_direct()
ftrace: Replaces simple_strtoul in ftraceFile tree
5 files changed
+39
-52
lines changed- fs/tracefs
- include/linux
- kernel/trace
5 files changed
+39
-52
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
352 | 351 | | |
353 | 352 | | |
354 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
414 | 413 | | |
415 | 414 | | |
416 | 415 | | |
417 | | - | |
418 | 416 | | |
419 | 417 | | |
420 | 418 | | |
| |||
426 | 424 | | |
427 | 425 | | |
428 | 426 | | |
429 | | - | |
430 | 427 | | |
431 | 428 | | |
432 | 429 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | 128 | | |
140 | 129 | | |
141 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1595 | 1595 | | |
1596 | 1596 | | |
1597 | 1597 | | |
| 1598 | + | |
1598 | 1599 | | |
| 1600 | + | |
1599 | 1601 | | |
1600 | 1602 | | |
1601 | | - | |
| 1603 | + | |
| 1604 | + | |
1602 | 1605 | | |
1603 | | - | |
| 1606 | + | |
1604 | 1607 | | |
1605 | 1608 | | |
1606 | 1609 | | |
| |||
1614 | 1617 | | |
1615 | 1618 | | |
1616 | 1619 | | |
1617 | | - | |
| 1620 | + | |
1618 | 1621 | | |
1619 | 1622 | | |
1620 | 1623 | | |
1621 | | - | |
1622 | | - | |
| 1624 | + | |
| 1625 | + | |
1623 | 1626 | | |
1624 | 1627 | | |
1625 | 1628 | | |
1626 | 1629 | | |
1627 | 1630 | | |
1628 | | - | |
| 1631 | + | |
1629 | 1632 | | |
1630 | 1633 | | |
1631 | | - | |
1632 | | - | |
1633 | | - | |
1634 | 1634 | | |
1635 | | - | |
| 1635 | + | |
1636 | 1636 | | |
1637 | 1637 | | |
1638 | 1638 | | |
| |||
2538 | 2538 | | |
2539 | 2539 | | |
2540 | 2540 | | |
2541 | | - | |
2542 | 2541 | | |
2543 | 2542 | | |
2544 | 2543 | | |
| |||
4201 | 4200 | | |
4202 | 4201 | | |
4203 | 4202 | | |
4204 | | - | |
| 4203 | + | |
4205 | 4204 | | |
4206 | 4205 | | |
4207 | 4206 | | |
4208 | 4207 | | |
4209 | | - | |
| 4208 | + | |
4210 | 4209 | | |
4211 | 4210 | | |
4212 | 4211 | | |
| |||
5317 | 5316 | | |
5318 | 5317 | | |
5319 | 5318 | | |
5320 | | - | |
5321 | | - | |
5322 | | - | |
5323 | | - | |
5324 | | - | |
5325 | | - | |
5326 | | - | |
5327 | | - | |
5328 | 5319 | | |
5329 | 5320 | | |
5330 | 5321 | | |
| |||
5365 | 5356 | | |
5366 | 5357 | | |
5367 | 5358 | | |
| 5359 | + | |
| 5360 | + | |
| 5361 | + | |
| 5362 | + | |
| 5363 | + | |
| 5364 | + | |
| 5365 | + | |
5368 | 5366 | | |
5369 | 5367 | | |
5370 | 5368 | | |
| |||
5463 | 5461 | | |
5464 | 5462 | | |
5465 | 5463 | | |
5466 | | - | |
5467 | | - | |
5468 | | - | |
5469 | | - | |
| 5464 | + | |
| 5465 | + | |
5470 | 5466 | | |
5471 | 5467 | | |
5472 | 5468 | | |
| |||
5816 | 5812 | | |
5817 | 5813 | | |
5818 | 5814 | | |
5819 | | - | |
| 5815 | + | |
5820 | 5816 | | |
5821 | | - | |
5822 | 5817 | | |
5823 | 5818 | | |
5824 | 5819 | | |
| |||
6595 | 6590 | | |
6596 | 6591 | | |
6597 | 6592 | | |
| 6593 | + | |
| 6594 | + | |
6598 | 6595 | | |
6599 | 6596 | | |
6600 | 6597 | | |
| |||
6808 | 6805 | | |
6809 | 6806 | | |
6810 | 6807 | | |
| 6808 | + | |
| 6809 | + | |
| 6810 | + | |
6811 | 6811 | | |
6812 | 6812 | | |
6813 | 6813 | | |
| |||
7141 | 7141 | | |
7142 | 7142 | | |
7143 | 7143 | | |
| 7144 | + | |
7144 | 7145 | | |
7145 | 7146 | | |
7146 | 7147 | | |
| |||
7182 | 7183 | | |
7183 | 7184 | | |
7184 | 7185 | | |
7185 | | - | |
7186 | | - | |
7187 | | - | |
7188 | | - | |
7189 | | - | |
7190 | | - | |
| 7186 | + | |
| 7187 | + | |
7191 | 7188 | | |
7192 | 7189 | | |
7193 | 7190 | | |
| |||
7204 | 7201 | | |
7205 | 7202 | | |
7206 | 7203 | | |
| 7204 | + | |
| 7205 | + | |
| 7206 | + | |
| 7207 | + | |
| 7208 | + | |
7207 | 7209 | | |
7208 | 7210 | | |
7209 | 7211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments