Skip to content

Commit ded7f92

Browse files
ogbrugge-workrdementi
authored andcommitted
Remove IIO check, not implemented anyway and the check fails and needs investigation before re-enabling
1 parent 9916011 commit ded7f92

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/pcm-sensor-server.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4065,11 +4065,12 @@ int mainThrows(int argc, char * argv[]) {
40654065
PCIeEventNameMap_t nameMap;
40664066

40674067
// TODO: add check for IIO support before trying to initialize the pmu
4068-
if ( !initializeIIOCounters( iios, evt_ctx, nameMap ) )
4069-
{
4070-
std::cerr << "Error: IIO is NOT supported with this platform! Program aborted\n";
4071-
exit(EXIT_FAILURE);
4072-
}
4068+
// Otto: re-add this check when there is support for IIO and do it properly, seems to fail for some reason, see #788
4069+
// if ( !initializeIIOCounters( iios, evt_ctx, nameMap ) )
4070+
// {
4071+
// std::cerr << "Error: IIO is NOT supported with this platform! Program aborted\n";
4072+
// exit(EXIT_FAILURE);
4073+
// }
40734074

40744075
// Now that everything is set we can start the http(s) server
40754076
#if defined (USE_SSL)

0 commit comments

Comments
 (0)