/**
- * Copyright (C) ARM Limited 2013-2014. All rights reserved.
+ * Copyright (C) ARM Limited 2013-2015. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
void NetDriver::readEvents(mxml_node_t *const) {
// Only for use with perf
- if (!gSessionData->perf.isSetup()) {
+ if (!gSessionData.mPerf.isSetup()) {
return;
}
void NetDriver::start() {
if (!doRead()) {
- logg->logError(__FILE__, __LINE__, "Unable to read network stats");
+ logg.logError("Unable to read network stats");
handleException();
}
// Initialize previous values
void NetDriver::read(Buffer *const buffer) {
if (!doRead()) {
- logg->logError(__FILE__, __LINE__, "Unable to read network stats");
+ logg.logError("Unable to read network stats");
handleException();
}
super::read(buffer);