Skip to content

Remove context param from walkback funcs#5722

Merged
markhannum merged 4 commits intobloomberg:mainfrom
mikesep:linux-aarch64
Feb 18, 2026
Merged

Remove context param from walkback funcs#5722
markhannum merged 4 commits intobloomberg:mainfrom
mikesep:linux-aarch64

Conversation

@mikesep
Copy link
Copy Markdown
Member

@mikesep mikesep commented Feb 9, 2026

On other platforms, libunwind's unw_context_t is typedef'd to ucontext_t, but that's not the case on Linux+aarch64 (aka ARM). Since no callers of stack_pc_getlist and stack_pc_walkback are passing an existing ucontext_t* as an input parameter, it's simplest to remove this from the interface and leave the platform-specific code in the .c file.

I also removed some #ifndef _LINUX_SOURCE guards that seemed to have been there from days when stack_pc_getlist wasn't implemented on Linux, which it now definitely is.

@akshatsikarwar
Copy link
Copy Markdown
Contributor

/runtests

Copy link
Copy Markdown

@roborivers roborivers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coding style check: Success ✓.
Cbuild submission: Error ⚠.
Regression testing: Success ✓.

The first 10 failing tests are:
consumer_non_atomic_default_consumer_generated
sc_transactional_rowlocks_generated
insert_lots_ssl_generated
insert_lots
reco-ddlk-sql

Copy link
Copy Markdown

@roborivers roborivers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coding style check: Success ✓.
Cbuild submission: Error ⚠.
Regression testing: Success ✓.

The first 10 failing tests are:
maxtable [core dumped]
consumer_non_atomic_default_consumer_generated
sc_transactional_rowlocks_generated

Copy link
Copy Markdown

@roborivers roborivers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coding style check: Success ✓.
Cbuild submission: Error ⚠.
Regression testing: Success ✓.

The first 10 failing tests are:
writes_remsql_names [setup failure]
sc_resume_logicalsc_generated
consumer_non_atomic_default_consumer_generated
reco-ddlk-sql

Copy link
Copy Markdown

@roborivers roborivers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coding style check: Success ✓.
Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
silogdel
consumer_non_atomic_default_consumer_generated
reco-ddlk-sql

@markhannum markhannum force-pushed the linux-aarch64 branch 2 times, most recently from 8f657fc to 6e6b2ba Compare February 12, 2026 21:25
Copy link
Copy Markdown

@roborivers roborivers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cbuild submission: Error ⚠.
Regression testing: Success ✓.

The first 10 failing tests are:
sc_resume_logicalsc_generated
reco-ddlk-sql
consumer_non_atomic_default_consumer_generated
sc_transactional_rowlocks_generated
truncatesc_offline_generated

Copy link
Copy Markdown

@roborivers roborivers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
sc_resume_logicalsc_generated
recover_deadlock
consumer_non_atomic_default_consumer_generated
reco-ddlk-sql

Copy link
Copy Markdown

@roborivers roborivers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
osql_cleanup [core dumped]
sc_resume
silogdel
consumer_non_atomic_default_consumer_generated
sc_transactional_rowlocks_generated
skipscan
reco-ddlk-sql

mikesep and others added 4 commits February 18, 2026 14:54
On other platforms, libunwind's unw_context_t is typedef'd to
ucontext_t, but that's not the case on Linux+aarch64 (aka ARM). Since no
callers of stack_pc_getlist and stack_pc_walkback are passing an
existing ucontext_t* as an input parameter, it's simplest to remove this
from the interface and leave the platform-specific code in the .c file.

Signed-off-by: Mike Seplowitz <mseplowitz@bloomberg.net>
Signed-off-by: Mike Seplowitz <mseplowitz@bloomberg.net>
Signed-off-by: Mike Seplowitz <mseplowitz@bloomberg.net>
Signed-off-by: Mark Hannum <mhannum@bloomberg.net>
@markhannum markhannum merged commit 7afcd03 into bloomberg:main Feb 18, 2026
4 checks passed
@mikesep mikesep deleted the linux-aarch64 branch February 18, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants