v8/tools/system-analyzer
Camillo Bruni 1dd3e29b52 [api] Use FLAG_log to check whether logging is enabled
Doing a function call into the logger to decide whether logging is
enabled or not is more costly than necessary.

This CL changes logging to take FLAG_log as main signal whether logging
could be active. If FLAG_log == false, logging cannot be active. In
that case we always call into the logger and perform detailed checks
there.

This CL changes flag-definitions to set FLAG_log if they need logging.

Change-Id: Ia51ed9fb7128451bf1dcf345fab257547aab4a47
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2602461
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72186}
2021-01-20 11:07:12 +00:00
..
log [tools] Fix system-analyzer deopt position 2020-12-14 10:10:29 +00:00
view [tools] Fix system-analyzer script panel selection 2021-01-12 15:23:49 +00:00
app-model.mjs [tools] Add api events timeline-track to system-analyzer 2020-12-05 10:49:42 +00:00
helper.mjs [tools] System-analyzer improvements 2020-12-09 09:53:18 +00:00
index.css [tools] System-analyzer select code related events 2021-01-07 13:41:23 +00:00
index.html [api] Use FLAG_log to check whether logging is enabled 2021-01-20 11:07:12 +00:00
index.mjs [tools] Fix system-analyzer script panel selection 2021-01-12 15:23:49 +00:00
processor.mjs [tools] System-analyzer select code related events 2021-01-07 13:41:23 +00:00
timeline.mjs [tools] System-analyzer: color source panel marks by event type 2021-01-08 10:37:11 +00:00