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

Look for porting the profiler on MacOSX #64

Open
svalat opened this issue Jan 28, 2022 · 0 comments
Open

Look for porting the profiler on MacOSX #64

svalat opened this issue Jan 28, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@svalat
Copy link
Member

svalat commented Jan 28, 2022

As asked for issue #61 we might want to port the profiler on MacOSX.

As stated the first comment on this issue the required checks and possibly porting would be:

  1. About the spinlock: yes pthread_spinlock_t is not provided under macosx. I have an equivalent here which can be imported in MALT with a bit of work: https://gitlab.cern.ch/lhcb-online-eb/lhcb-daqpipe-v2/-/blob/master/src/portability/SpinlockPthread.hpp. I don't know if it is still supported by recent macrosx. Another solution a bit less performance is to replace them by pthread mutex.
  2. I think there are some other points which might lead to issues on macosx. It would be nice if you can confirm to me. Mostly there might be an issue because I use some files in /proc (/proc/self/maps, /proc/meminfo, /proc/self/statm, /proc/self/exe). Are they available on osx ?

Originally posted by @svalat in #61 (comment)

@svalat svalat added enhancement New feature or request help wanted Extra attention is needed labels Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant