Kadir Cetinkaya
20f69ccfe6
[clangd] Add a helper for exposing tracer status
2020-10-12 15:25:29 +02:00
Sam McCall
8f1de22c76
[clangd] Stop capturing trace args if the tracer doesn't need them.
...
The tracer is now expected to allocate+free the args itself.
Differential Revision: https://reviews.llvm.org/D89135
2020-10-12 13:43:05 +02:00
Sam McCall
9b88a190b4
[clangd] Add CSV export for trace metrics
...
Summary: Example: https://docs.google.com/spreadsheets/d/1VZKGetSUTTDe9p4ooIETmdcwUod1_aE3vgD0E9x7HhI/edit
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, jfb, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D79678
2020-05-19 13:35:31 +02:00
Hans Wennborg
3c2c7760d9
Fix building with GCC5 after e64f99c51a
...
It was failing with:
/work/llvm.monorepo/clang-tools-extra/clangd/ClangdServer.cpp: In lambda function:
/work/llvm.monorepo/clang-tools-extra/clangd/ClangdServer.cpp:374:75:
error: could not convert ‘(const char*)""’ from ‘const char*’ to ‘llvm::StringLiteral’
trace::Metric::Distribution);
^
2020-05-04 11:12:39 +02:00
Kadir Cetinkaya
e64f99c51a
[clangd] Metric tracking through Tracer
...
Summary: Introduces an endpoint to Tracer for tracking metrics on
internal events.
Reviewers: sammccall
Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D78429
2020-05-03 10:50:32 +02:00
Sam McCall
ad97ccf6b2
[clangd] Move non-clang base pieces into separate support/ lib. NFCI
...
Summary:
This enforces layering, reduces a sprawling clangd/ directory, and makes life
easier for embedders.
Reviewers: kbobyrev
Subscribers: mgorny, ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, jfb, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D79014
2020-04-29 15:57:12 +02:00