diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2022-06-14 09:19:42 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2022-07-14 13:35:45 +0300 |
commit | 1da95da6935e70cc99e1e1f9c0fe7fc7c2b007df (patch) | |
tree | 40e68a7540e6b4763deab200b08aab33e6a9420c /include/odp/api/spec/stash.h | |
parent | 8829376e7cbdc665590fc10e29b6e421325185b8 (diff) |
api: stash: add debug print function
Added odp_stash_print() which can be used to print
implementation specific debug information to the log.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Ashwin Sekhar T K <asekhar@marvell.com>
Diffstat (limited to 'include/odp/api/spec/stash.h')
-rw-r--r-- | include/odp/api/spec/stash.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/odp/api/spec/stash.h b/include/odp/api/spec/stash.h index ba260c140..981fffa2c 100644 --- a/include/odp/api/spec/stash.h +++ b/include/odp/api/spec/stash.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2020-2021, Nokia +/* Copyright (c) 2020-2022, Nokia * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause @@ -267,6 +267,16 @@ int32_t odp_stash_get_ptr(odp_stash_t stash, uintptr_t ptr[], int32_t num); int odp_stash_flush_cache(odp_stash_t stash); /** + * Print debug information about the stash + * + * Print implementation defined information about the stash to the ODP log. The information + * is intended to be used for debugging. + * + * @param stash Stash handle + */ +void odp_stash_print(odp_stash_t stash); + +/** * @} */ |