Skip to content

[rocprofiler-sdk] Change the enum string to profile#4222

Open
SrirakshaNag wants to merge 2 commits intodevelopfrom
users/SrirakshaNag/spm-patch-chain/config_status_enum
Open

[rocprofiler-sdk] Change the enum string to profile#4222
SrirakshaNag wants to merge 2 commits intodevelopfrom
users/SrirakshaNag/spm-patch-chain/config_status_enum

Conversation

@SrirakshaNag
Copy link
Contributor

@SrirakshaNag SrirakshaNag commented Mar 19, 2026

Motivation

Renames the enum value ROCPROFILER_STATUS_ERROR_PROFILE_NOT_FOUND to ROCPROFILER_STATUS_ERROR_CONFIG_NOT_FOUND

Technical Details

  1. fwd.h — Renamed the enum member from PROFILE_NOT_FOUND to CONFIG_NOT_FOUND and added a backward-compatible alias:
    ROCPROFILER_STATUS_ERROR_PROFILE_NOT_FOUND = ROCPROFILER_STATUS_ERROR_CONFIG_NOT_FOUND with a deprecation comment.
  2. enum_string.hpp — Updated the ROCPROFILER_ENUM_LABEL macro to use the new CONFIG_NOT_FOUND name.
  3. rocprofiler.cpp — Updated the ROCPROFILER_STATUS_STRING macro to use the new CONFIG_NOT_FOUND name

JIRA ID

Test Plan

All existing tests should pass

Test Result

Submission Checklist

@SrirakshaNag SrirakshaNag force-pushed the users/SrirakshaNag/spm-patch-chain/config_status_enum branch from c33092b to 7933160 Compare March 20, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants