Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Fix the profiling sample runtime" #311

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion samples/src/cpp-baremetal-semihosting-prof/proflib.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ static const char *NamesLast = NULL;
static char *CountersFirst = NULL;
static char *CountersLast = NULL;

#define INSTR_PROF_RAW_VERSION 8
#define INSTR_PROF_RAW_VERSION_VAR __llvm_profile_raw_version
#define INSTR_PROF_PROFILE_RUNTIME_VAR __llvm_profile_runtime

extern uint64_t INSTR_PROF_RAW_VERSION_VAR;
uint64_t INSTR_PROF_RAW_VERSION_VAR = INSTR_PROF_RAW_VERSION;
int INSTR_PROF_PROFILE_RUNTIME_VAR;

void __llvm_profile_dump(void);
Expand Down
Loading