Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'ldms_stream_client_stats_str() error: 2' in ldmsd_controller
The error arose from 'ldms_stream_client_stat_str()' on the ldmsd side. When the stream client list was empty, 'ldms_stream_client_stat_str()' returned `NULL` with errno=ENOENT. This consequently got forwarded to `ldmsd_controller` and displayed as an error. This patch modified ldms_stream_client_stat_str() to return "[]" on empty client list.
- Loading branch information