Lines Matching defs:profile
56 // Save the id of the profile request to identify its response.
98 stderr, "Failed to convert %s profile message to V8 string\n", type);
104 "Receive %s profile message\n",
110 fprintf(stderr, "Failed to parse %s profile result as JSON object\n", type);
133 "Writing profile response (id = %" PRIu64 ")\n",
141 fprintf(stderr, "Failed to get 'result' from %s profile response\n", type);
147 stderr, "'result' from %s profile response is not an object\n", type);
163 "%s: Failed to create %s profile directory %s\n",
184 // Generate the profile output from the subclass.
185 Local<Object> profile;
186 if (!GetProfile(result).ToLocal(&profile)) {
191 if (!v8::JSON::Stringify(context, profile).ToLocal(&result_s)) {
192 fprintf(stderr, "Failed to stringify %s profile result\n", type());
219 // the best we could to is to just discard the profile and do nothing.
226 // Generate the profile output from the subclass.
227 Local<Object> profile;
228 if (!GetProfile(result).ToLocal(&profile)) {
251 profile->Set(context, FIXED_ONE_BYTE_STRING(isolate, "source-map-cache"),
256 if (!v8::JSON::Stringify(context, profile).ToLocal(&result_s)) {
257 fprintf(stderr, "Failed to stringify %s profile result\n", type());
320 FIXED_ONE_BYTE_STRING(env()->isolate(), "profile"))
322 fprintf(stderr, "'profile' from CPU profile result is undefined\n");
326 fprintf(stderr, "'profile' from CPU profile result is not an Object\n");
364 FIXED_ONE_BYTE_STRING(env()->isolate(), "profile"))
366 fprintf(stderr, "'profile' from heap profile result is undefined\n");
370 fprintf(stderr, "'profile' from heap profile result is not an Object\n");