[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-302df34c4e64b9e83ee31cbf508b38b62b428bd6@git.kernel.org>
Date: Tue, 8 Jan 2019 07:39:22 -0800
From: tip-bot for Jiri Olsa <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: hpa@...or.com, acme@...hat.com, mmayer@...adcom.com,
jolsa@...nel.org, linux-kernel@...r.kernel.org,
peterz@...radead.org, namhyung@...nel.org,
alexander.shishkin@...ux.intel.com, computersforpeace@...il.com,
mingo@...nel.org, rui.zhang@...el.com, tglx@...utronix.de
Subject: [tip:perf/urgent] tools thermal tmon: Use -O3 instead of -O1 if
available
Commit-ID: 302df34c4e64b9e83ee31cbf508b38b62b428bd6
Gitweb: https://git.kernel.org/tip/302df34c4e64b9e83ee31cbf508b38b62b428bd6
Author: Jiri Olsa <jolsa@...nel.org>
AuthorDate: Thu, 3 Jan 2019 17:13:49 +0100
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Fri, 4 Jan 2019 12:54:49 -0300
tools thermal tmon: Use -O3 instead of -O1 if available
Using -O3 instead of -O1 if it's supported by compiler.
Signed-off-by: Jiri Olsa <jolsa@...nel.org>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Brian Norris <computersforpeace@...il.com>
Cc: Markus Mayer <mmayer@...adcom.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Zhang Rui <rui.zhang@...el.com>
Link: http://lkml.kernel.org/r/20190103161350.11446-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/thermal/tmon/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/thermal/tmon/Makefile b/tools/thermal/tmon/Makefile
index 89a2444c1df2..59e417ec3e13 100644
--- a/tools/thermal/tmon/Makefile
+++ b/tools/thermal/tmon/Makefile
@@ -6,7 +6,7 @@ VERSION = 1.0
BINDIR=usr/bin
WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
-override CFLAGS+= -O1 ${WARNFLAGS}
+override CFLAGS+= $(call cc-option,-O3,-O1) ${WARNFLAGS}
# Add "-fstack-protector" only if toolchain supports it.
override CFLAGS+= $(call cc-option,-fstack-protector-strong)
CC?= $(CROSS_COMPILE)gcc
Powered by blists - more mailing lists