Diff of /libperf_events/operf_mangling.cpp [3b11e2] .. [6ee980]  Maximize  Restore

  Switch to side-by-side view

--- a/libperf_events/operf_mangling.cpp
+++ b/libperf_events/operf_mangling.cpp
@@ -145,7 +145,11 @@
 
 	cverb << vsfile << "Opening \"" << mangled << "\"" << endl;
 
-	create_path(mangled);
+	err = create_path(mangled);
+	if (err) {
+		cerr << "operf: create path for " << mangled << " failed: " << strerror(err) << endl;
+		goto out;
+	}
 
 	/* locking sf will lock associated cg files too */
 	operf_sfile_get(sf);

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks