| 769 | } |
| 770 | |
| 771 | static void |
| 772 | graph_scan_dump(FILE *f, rte_graph_t id, bool all) |
| 773 | { |
| 774 | struct graph *graph; |
| 775 | |
| 776 | RTE_VERIFY(f); |
| 777 | if (graph_from_id(id) == NULL) |
| 778 | goto fail; |
| 779 | |
| 780 | STAILQ_FOREACH(graph, &graph_list, next) { |
| 781 | if (all == true) { |
| 782 | graph_dump(f, graph); |
| 783 | } else if (graph->id == id) { |
| 784 | graph_dump(f, graph); |
| 785 | return; |
| 786 | } |
| 787 | } |
| 788 | fail: |
| 789 | return; |
| 790 | } |
| 791 | |
| 792 | void |
| 793 | rte_graph_dump(FILE *f, rte_graph_t id) |
no test coverage detected