07/03/2018 14:23, Arnon Warshavsky: > > > > Can we add a compile warning for adding new rte_panic's into code? It's a > > nice tool while debugging, but it probably shouldn't be in any new > > production code.
Yes could be nice to automatically detect it in drivers/ or lib/ directories. > I thought about renaming the current function and calls to something like > deprecated_rte_panic() > , and keep the old API with __rte_deprecated. > Is this kind of API break acceptable? No, rte_panic can be used in applications.