@@ -68,58 +68,6 @@ cc_library(
6868 alwayslink = True ,
6969)
7070
71- tf_profiler_pybind_cc_library_wrapper (
72- name = "local_profiler_for_pybind" ,
73- actual = ":local_profiler" ,
74- visibility = [
75- "//tensorflow/core/profiler/rpc:__pkg__" ,
76- "//tensorflow/python/profiler/internal:__pkg__" ,
77- ],
78- )
79-
80- cc_library (
81- name = "local_profiler" ,
82- hdrs = ["local_profiler.h" ],
83- visibility = ["//tensorflow/core/profiler:internal" ],
84- deps = [
85- "@com_google_absl//absl/memory" ,
86- "//tensorflow/core:lib" ,
87- "//tensorflow/core:protos_all_cc" ,
88- "//tensorflow/core/platform" ,
89- "//tensorflow/core/profiler:profiler_options_proto_cc" ,
90- "//tensorflow/core/profiler/protobuf:xplane_proto_cc" ,
91- ":profiler_interface" ,
92- ] + if_static ([
93- ":local_profiler_impl" ,
94- ]),
95- )
96-
97- cc_library (
98- name = "local_profiler_impl" ,
99- srcs = ["local_profiler.cc" ],
100- hdrs = ["local_profiler.h" ],
101- copts = tf_profiler_copts (),
102- visibility = ["//tensorflow/core/profiler:internal" ],
103- deps = [
104- ":profiler_interface" ,
105- ":profiler_lock" ,
106- "//tensorflow/core:lib" ,
107- "//tensorflow/core:protos_all_cc" ,
108- "//tensorflow/core/platform" ,
109- "//tensorflow/core/profiler:profiler_options_proto_cc" ,
110- "//tensorflow/core/profiler/convert:post_process_single_host_xplane" ,
111- "//tensorflow/core/profiler/lib:profiler_factory" ,
112- "//tensorflow/core/profiler/protobuf:xplane_proto_cc" ,
113- "//tensorflow/core/profiler/utils:derived_timeline" ,
114- "//tensorflow/core/profiler/utils:group_events" ,
115- "//tensorflow/core/profiler/utils:xplane_schema" ,
116- "//tensorflow/core/profiler/utils:xplane_utils" ,
117- "@com_google_absl//absl/memory" ,
118- "@com_google_absl//absl/time" ,
119- ],
120- alwayslink = True ,
121- )
122-
12371cc_library (
12472 name = "profiler_factory" ,
12573 hdrs = ["profiler_factory.h" ],
0 commit comments