Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Issue 2695593009: Use the location where FileDescriptorWatcher is created to track the libevent handlers (Closed)

Created:
3 years, 10 months ago by ssid
Modified:
3 years, 10 months ago
CC:
Aaron Boodman, abarth-chromium, bnc+watch_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, kalyank, net-reviews_chromium.org, oshima+watch_chromium.org, ozone-reviews_chromium.org, piman+watch_chromium.org, qsr+mojo_chromium.org, sadrul, tdresser+watch_chromium.org, viettrungluu+watch_chromium.org, vmpstr+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use the location where FileDescriptorWatcher is created to track the libevent handlers Currently the trace events are without the location information and it is of less use without the location for heap profiler. The libevent handlers are now annotated with the location where the watcher controller is created for tracing and heap profiler. This only handles the posix version of watcher events. Windows will be fixed in different CL. BUG=609912 Review-Url: https://codereview.chromium.org/2695593009 Cr-Commit-Position: refs/heads/master@{#451142} Committed: https://chromium.googlesource.com/chromium/src/+/5dd4fb35920fffa84d53cb908b83668b2c7db1b8

Patch Set 1 : fix ios #

Patch Set 2 : fix mac. #

Patch Set 3 : fix mac. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -38 lines) Patch
M base/files/file_descriptor_watcher_posix.cc View 1 chunk +4 lines, -1 line 0 comments Download
M base/message_loop/message_loop_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/message_loop/message_pump_io_ios.h View 1 4 chunks +8 lines, -1 line 0 comments Download
M base/message_loop/message_pump_io_ios.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M base/message_loop/message_pump_io_ios_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M base/message_loop/message_pump_libevent.h View 4 chunks +8 lines, -1 line 0 comments Download
M base/message_loop/message_pump_libevent.cc View 2 chunks +9 lines, -5 lines 0 comments Download
M base/message_loop/message_pump_libevent_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/apps/app_shim/unix_domain_socket_acceptor.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main_extra_parts_exo.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/service_process_util_posix.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/binder/ipc_thread.cc View 1 chunk +4 lines, -1 line 0 comments Download
M components/crash/content/browser/crash_handler_host_linux.cc View 1 chunk +1 line, -0 lines 0 comments Download
M dbus/bus.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/edk/system/channel_posix.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M net/base/address_tracker_linux.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M net/dns/notify_watcher_mac.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M net/proxy/proxy_config_service_linux.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/socket_posix.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M net/socket/udp_socket_posix.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/ozone/device/udev/device_manager_udev.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/events/ozone/evdev/event_converter_evdev.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M ui/events/ozone/evdev/event_converter_evdev_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/ozone/evdev/tablet_event_converter_evdev.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/platform/x11/x11_event_source_libevent.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/drm_device.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/wayland/fake_server.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/ozone/platform/wayland/wayland_connection.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 38 (25 generated)
ssid
Nico, wdyt?
3 years, 10 months ago (2017-02-16 18:00:51 UTC) #14
Nico
seems fine to me (lgtm), but it'd be cool if someone closer to tracing / ...
3 years, 10 months ago (2017-02-16 18:37:40 UTC) #15
ssid
+oysteine for the tracing change wdyt?
3 years, 10 months ago (2017-02-16 18:40:07 UTC) #17
ssid
Small changes for tracing, ptal. Thanks. +rsesek for components/crash +rockot for mojo/ +xunjieli for net/ ...
3 years, 10 months ago (2017-02-16 18:46:54 UTC) #21
Ken Rockot(use gerrit already)
mojo rs lgtm
3 years, 10 months ago (2017-02-16 18:48:16 UTC) #22
Robert Sesek
lgtm
3 years, 10 months ago (2017-02-16 18:49:14 UTC) #23
xunjieli
net/ lgtm.
3 years, 10 months ago (2017-02-16 18:56:03 UTC) #24
stevenjb
owner lgtm
3 years, 10 months ago (2017-02-16 19:38:26 UTC) #27
oystein (OOO til 10th of July)
On 2017/02/16 at 18:40:07, ssid wrote: > +oysteine for the tracing change wdyt? I'm not ...
3 years, 10 months ago (2017-02-16 21:02:31 UTC) #28
ssid
On 2017/02/16 21:02:31, oystein wrote: > On 2017/02/16 at 18:40:07, ssid wrote: > > +oysteine ...
3 years, 10 months ago (2017-02-16 21:41:53 UTC) #31
ssid
For memory-infra folks: The heap profiler categories will change this way on Linux: View with ...
3 years, 10 months ago (2017-02-16 22:34:31 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2695593009/60001
3 years, 10 months ago (2017-02-16 22:37:20 UTC) #35
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 23:58:24 UTC) #38
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/5dd4fb35920fffa84d53cb908b83...

Powered by Google App Engine
This is Rietveld 408576698