If opreport throws up an error, it shows up in the tlbmiss_cost.sh
output. Stop that.

Signed-off-by: Mel Gorman <m...@csn.ul.ie>
---
 TLBC/OpCollect.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TLBC/OpCollect.pm b/TLBC/OpCollect.pm
index 2a1c006..c0944bb 100644
--- a/TLBC/OpCollect.pm
+++ b/TLBC/OpCollect.pm
@@ -172,7 +172,7 @@ sub get_current_eventcount()
 sub read_eventcount()
 {
        system("opcontrol --dump > /dev/null 2>&1");
-       $report = `opreport -x`;
+       $report = `opreport -x 2> /dev/null`;
 }
 
 sub shutdown()
-- 
1.7.1


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to