Accepting request 962124 from home:bmwiedemann:branches:Base:System

Make profiling deterministic (bsc#1040589)

OBS-URL: https://build.opensuse.org/request/show/962124
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=116
This commit is contained in:
Andreas Schwab 2022-03-16 13:02:12 +00:00 committed by Git OBS Bridge
parent 8e3b0ca183
commit f97d8ce173
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 15 21:51:41 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>
- Make profiling deterministic (bsc#1040589)
-------------------------------------------------------------------
Sat Feb 12 13:40:18 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -49,7 +49,7 @@ match to a specified pattern. By default, grep prints the matching lines.
%{nil}
%if 0%{?do_profiling}
%make_build CFLAGS="%{optflags} %{cflags_profile_generate}"
sh %{SOURCE4} # profiling run
setarch -R sh %{SOURCE4} # profiling run
%make_build clean
%make_build CFLAGS="%{optflags} %{cflags_profile_feedback}"
%else