linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kernel-shark: Modify FreeSans warning msg for GUI
@ 2022-04-22 11:43 Solomon Tan
  2022-04-28  6:57 ` Yordan Karadzhov
  0 siblings, 1 reply; 2+ messages in thread
From: Solomon Tan @ 2022-04-22 11:43 UTC (permalink / raw)
  To: y.karadz; +Cc: linux-trace-devel

Make the warning point out that the FreeSans font is required for the
kernelshark GUI. This is to alert the user that the GUI will not be made
when cmake does not detect FreeSans.

Signed-off-by: Solomon Tan <wjsota@gmail.com>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9dd160e..390c7f5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,7 +69,7 @@ if (TT_FONT_FILE)
 
 else (TT_FONT_FILE)
 
-  message(WARNING "\nCould not find font ${KS_FONT}!\n")
+  message(WARNING "\nCould not find font ${KS_FONT}! Kernelshark GUI requires font ${KS_FONT}!\n")
 
 endif (TT_FONT_FILE)
 
-- 
2.36.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kernel-shark: Modify FreeSans warning msg for GUI
  2022-04-22 11:43 [PATCH] kernel-shark: Modify FreeSans warning msg for GUI Solomon Tan
@ 2022-04-28  6:57 ` Yordan Karadzhov
  0 siblings, 0 replies; 2+ messages in thread
From: Yordan Karadzhov @ 2022-04-28  6:57 UTC (permalink / raw)
  To: Solomon Tan; +Cc: linux-trace-devel

Applied.

Thanks Solomon!
Y.

On 22.04.22 г. 14:43 ч., Solomon Tan wrote:
> Make the warning point out that the FreeSans font is required for the
> kernelshark GUI. This is to alert the user that the GUI will not be made
> when cmake does not detect FreeSans.
> 
> Signed-off-by: Solomon Tan <wjsota@gmail.com>
> ---
>   CMakeLists.txt | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index 9dd160e..390c7f5 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -69,7 +69,7 @@ if (TT_FONT_FILE)
>   
>   else (TT_FONT_FILE)
>   
> -  message(WARNING "\nCould not find font ${KS_FONT}!\n")
> +  message(WARNING "\nCould not find font ${KS_FONT}! Kernelshark GUI requires font ${KS_FONT}!\n")
>   
>   endif (TT_FONT_FILE)
>   

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-28  6:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22 11:43 [PATCH] kernel-shark: Modify FreeSans warning msg for GUI Solomon Tan
2022-04-28  6:57 ` Yordan Karadzhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).