diff options
author | Anna R <annarev@google.com> | 2017-05-05 14:43:21 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-05-05 16:09:40 -0700 |
commit | 63f7fae6a44686e1153f23d70a912cc0a83c7354 (patch) | |
tree | f8f4650fcc2551bea9f857754084d522697262c7 /third_party/pprof.BUILD | |
parent | 37e3b71b49495af3873e7916a2ff28e598931b89 (diff) |
Add a profiler that dumps data in pprof format.
Change: 155249446
Diffstat (limited to 'third_party/pprof.BUILD')
-rw-r--r-- | third_party/pprof.BUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/pprof.BUILD b/third_party/pprof.BUILD new file mode 100644 index 0000000000..6f27bfc819 --- /dev/null +++ b/third_party/pprof.BUILD @@ -0,0 +1,18 @@ +package( + default_visibility = ["//visibility:public"], +) + +licenses(["notice"]) # MIT + +load("@protobuf//:protobuf.bzl", "py_proto_library") + +exports_files(["pprof/LICENSE"]) + +py_proto_library( + name = "pprof_proto_py", + srcs = ["pprof/profile.proto"], + default_runtime = "@protobuf//:protobuf_python", + protoc = "@protobuf//:protoc", + srcs_version = "PY2AND3", + deps = ["@protobuf//:protobuf_python"], +) |