Index: tools/profile.js |
diff --git a/tools/profile.js b/tools/profile.js |
index db4b542ff231af1390a8a253d59eb68645b31bcd..d41f5cd13b001f6733db94d358817acda54945a9 100644 |
--- a/tools/profile.js |
+++ b/tools/profile.js |
@@ -163,6 +163,16 @@ devtools.profiler.Profile.prototype.deleteCode = function(start) { |
/** |
+ * Retrieves a code entry by an address. |
+ * |
+ * @param {number} addr Entry address. |
+ */ |
+devtools.profiler.Profile.prototype.findEntry = function(addr) { |
+ return this.codeMap_.findEntry(addr); |
+}; |
+ |
+ |
+/** |
* Records a tick event. Stack must contain a sequence of |
* addresses starting with the program counter value. |
* |
@@ -345,6 +355,14 @@ devtools.profiler.Profile.DynamicCodeEntry.prototype.getName = function() { |
/** |
+ * Returns raw node name (without type decoration). |
+ */ |
+devtools.profiler.Profile.DynamicCodeEntry.prototype.getRawName = function() { |
+ return this.name; |
+}; |
+ |
+ |
+/** |
* Constructs a call graph. |
* |
* @constructor |