[PATCH 5.1 076/122] tracing: Fix partial reading of trace events id file