Skip to contentSkip to conversation

weston: Add minor fix for soc performance monitor

PATCH New Karthik Ramanan 1 participant 1 message Jun 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 weston: Add minor fix for soc performance monitor

---
 .../wayland/weston/0001-Add-soc-performance-monitor-utilites.patch   | 5 +++--
 meta-arago-distro/recipes-graphics/wayland/weston_1.9.0.bbappend     | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-graphics/wayland/weston/0001-Add-soc-performance-monitor-utilites.patch +3 -2
index 9da541c..751a7ce 100644
@@ -7,7 +7,7 @@ Signed-off-by: Karthik Ramanan <[email protected]>
 ---
  Makefile.am                       |   17 +-
  clients/Dra7xx_ddrstat_speed.c    |  494 +++++++++++++
- clients/soc_performance_monitor.c |  624 ++++++++++++++++
+ clients/soc_performance_monitor.c |  625 ++++++++++++++++
  clients/soc_performance_monitor.h |   40 ++
  clients/statcoll.c                | 1433 +++++++++++++++++++++++++++++++++++++
  clients/statcoll.h                |  152 ++++
@@ -564,7 +564,7 @@ new file mode 100644
 index 0000000..5d1db32
 --- /dev/null
 +++ b/clients/soc_performance_monitor.c
-@@ -0,0 +1,624 @@
+@@ -0,0 +1,625 @@
 +/*
 + * Copyright (C) 2016 Texas Instruments
 + * Author: Karthik Ramanan <[email protected]>
@@ -640,6 +640,7 @@ index 0000000..5d1db32
 +
 +			/* open, read, and display the message from the FIFO */
 +			bytes=read(fd, buf, MAX_BUF);
++                       buf[bytes]='\0';
 +			if(bytes > 0) 
 +			{
 +				char command[100];
meta-arago-distro/recipes-graphics/wayland/weston_1.9.0.bbappend +1 -1
index 4c8bd20..0a3e223 100644
@@ -2,7 +2,7 @@
 PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor WESTON_NATIVE_BACKEND="fbdev-backend.so",--disable-fbdev-compositor,udev mtdev"
 PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev libgbm mtdev"
 
-PR_append = ".arago10"
+PR_append = ".arago11"
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
Signature · 1 line
1.9.1