Commit 245eb0b
dma-mapping: trace more error paths
[ Upstream commit 68b6dbf ]
It can be surprising to the user if DMA functions are only traced on
success. On failure, it can be unclear what the source of the problem
is. Fix this by tracing all functions even when they fail. Cases where
we BUG/WARN are skipped, since those should be sufficiently noisy
already.
Signed-off-by: Sean Anderson <[email protected]>
Reviewed-by: Steven Rostedt (Google) <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Stable-dep-of: 7e2368a ("dma-debug: don't enforce dma mapping check on noncoherent allocations")
Signed-off-by: Sasha Levin <[email protected]>1 parent f776ae6 commit 245eb0b
2 files changed
+54
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
325 | 361 | | |
326 | 362 | | |
327 | 363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| |||
604 | 605 | | |
605 | 606 | | |
606 | 607 | | |
607 | | - | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
608 | 611 | | |
| 612 | + | |
609 | 613 | | |
610 | 614 | | |
611 | 615 | | |
612 | 616 | | |
613 | | - | |
| 617 | + | |
614 | 618 | | |
615 | | - | |
| 619 | + | |
616 | 620 | | |
617 | | - | |
| 621 | + | |
618 | 622 | | |
619 | | - | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
620 | 626 | | |
| 627 | + | |
621 | 628 | | |
622 | 629 | | |
623 | 630 | | |
| |||
642 | 649 | | |
643 | 650 | | |
644 | 651 | | |
| 652 | + | |
| 653 | + | |
645 | 654 | | |
646 | 655 | | |
647 | 656 | | |
648 | | - | |
649 | | - | |
650 | 657 | | |
651 | 658 | | |
652 | 659 | | |
| |||
688 | 695 | | |
689 | 696 | | |
690 | 697 | | |
| 698 | + | |
| 699 | + | |
691 | 700 | | |
692 | 701 | | |
693 | 702 | | |
| |||
772 | 781 | | |
773 | 782 | | |
774 | 783 | | |
| 784 | + | |
| 785 | + | |
775 | 786 | | |
776 | 787 | | |
777 | 788 | | |
| |||
0 commit comments