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
Updates from Igrof master for Ubuntu which might help with EL8 #5
Updates from Igrof master for Ubuntu which might help with EL8 #5
Conversation
GCC 7 (r244326) complains about comparing two function pointers with different singatures on src/profile.cc:580:24 src/profile.cc: In function 'bool igprof_init(const char*, void (*)(), bool, double)': src/profile.cc:580:24: error: comparison between distinct pointer types 'void (*)() __attribute__((noreturn))' and 'void (*)() throw ()' lacks a cast [-fpermissive] if (igprof_abort != &abort) ^~~~~ Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
GCC 7 (r244326) complains that we reach end of function with non-void return. Add __builtin_unreachable right after abort function to tell compiler that any code after abort is not possible. Alternatively we could return 0x0/NULL after abort. Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
enable profiling |
A new Pull Request was created by @gartung (Patrick Gartung) for branch cms/master/c6882f4. @cmsbuild, @smuzaffar, @aandvalenzuela, @iarspider can you please review it and eventually sign? Thanks. |
Pull request #5 was updated. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-248d20/29469/summary.html Comparison SummarySummary:
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-248d20/29468/summary.html Comparison SummarySummary:
|
The undercounting still exists for cpu performance. |
sprintf is marked as deprecated under XCode 13, resulting in compiler errors due to the stricted options we use. We move everything to use snprintf to silence the warning and maybe avoid some buffer overrun.
please test with cms-sw/cmsdist#8269 |
please test with cms-sw/cmsdist#8269 for slc7_amd64_gcc11 |
Pull request #5 was updated. |
please test with cms-sw/cmsdist#8269 |
please test with cms-sw/cmsdist#8269 for slc7_amd64_gcc11 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-248d20/30214/summary.html Comparison SummarySummary:
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-248d20/30215/summary.html Comparison SummarySummary:
|
66805e0
to
58ad5c8
Compare
Pull request #5 was updated. |
I want to test to see if this helps with memory undercounting on EL8.