[rocprofv3] Add check for Stream Stack Pointer before use (#465)

* Added null check for stream_stack before get_stream_id is called

* Rename function and add check for stream strack before pop

* Removed empty check for stream stack and adding error log for get_stream_id in stream.cpp
Este commit está contenido en:
Trowbridge, Ian
2025-06-30 17:49:48 -05:00
cometido por GitHub
padre 99e262ca4a
commit 0904b6e34d
Se han modificado 4 ficheros con 17 adiciones y 2 borrados
@@ -30,6 +30,9 @@ namespace tool
{
namespace stream
{
bool
stream_stack_not_null();
rocprofiler_stream_id_t
get_stream_id();