-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUILD] Alternative way of exporting symbols (generating .def file) (#…
- Loading branch information
Showing
3 changed files
with
120 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// Copyright The OpenTelemetry Authors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
// clang-format off | ||
Create@OStreamSpanExporterFactory@trace@exporter@v1@opentelemetry | ||
Create@SimpleSpanProcessorFactory@trace@sdk@v1@opentelemetry | ||
Create@TracerProviderFactory@trace@sdk@v1@opentelemetry | ||
Create@LoggerProviderFactory@logs@sdk@v1@opentelemetry | ||
Create@BatchLogRecordProcessorFactory@logs@sdk@v1@opentelemetry | ||
Create@SimpleLogRecordProcessorFactory@logs@sdk@v1@opentelemetry | ||
Create@MultiLogRecordProcessorFactory@logs@sdk@v1@opentelemetry | ||
ForceFlush@TracerProvider@trace@sdk@v1@opentelemetry | ||
ForceFlush@LoggerProvider@logs@sdk@v1@opentelemetry | ||
OStreamLogRecordExporter@logs@exporter@v1@opentelemetry | ||
Create@OStreamMetricExporterFactory@metrics@exporter@v1@opentelemetry | ||
Create@PeriodicExportingMetricReaderFactory@metrics@sdk@v1@opentelemetry | ||
Create@MeterProviderFactory@metrics@sdk@v1@opentelemetry | ||
Create@MeterContextFactory@metrics@sdk@v1@opentelemetry | ||
Create@ViewFactory@metrics@sdk@v1@opentelemetry | ||
Create@MeterSelectorFactory@metrics@sdk@v1@opentelemetry | ||
Create@InstrumentSelectorFactory@metrics@sdk@v1@opentelemetry | ||
AddMetricReader@MeterContext@metrics@sdk@v1@opentelemetry | ||
AddMetricReader@MeterProvider@metrics@sdk@v1@opentelemetry | ||
AddView@MeterProvider@metrics@sdk@v1@opentelemetry | ||
|
||
#if defined(WITH_OTLP_GRPC) || defined(WITH_OTLP_HTTP) | ||
GetOtlpDefaultTracesTimeout@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultTracesHeaders@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultLogsTimeout@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultLogsHeaders@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultMetricsTimeout@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultMetricsHeaders@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultTracesSslCertificatePath@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultMetricsSslCertificatePath@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultLogsSslCertificatePath@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultTracesSslCertificateString@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultMetricsSslCertificateString@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultLogsSslCertificateString@otlp@exporter@v1@opentelemetry | ||
#endif // defined(WITH_OTLP_GRPC) || defined(WITH_OTLP_HTTP) | ||
|
||
#if defined(WITH_OTLP_GRPC) | ||
Create@OtlpGrpcExporterFactory@otlp@exporter@v1@opentelemetry | ||
Create@OtlpGrpcMetricExporterFactory@otlp@exporter@v1@opentelemetry | ||
Create@OtlpGrpcLogRecordExporterFactory@otlp@exporter@v1@opentelemetry | ||
OtlpGrpcExporterOptions@otlp@exporter@v1@opentelemetry | ||
OtlpGrpcMetricExporterOptions@otlp@exporter@v1@opentelemetry | ||
OtlpGrpcLogRecordExporterOptions@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultGrpcTracesEndpoint@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultGrpcMetricsEndpoint@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultGrpcLogsEndpoint@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultGrpcTracesIsInsecure@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultGrpcMetricsIsInsecure@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultGrpcLogsIsInsecure@otlp@exporter@v1@opentelemetry | ||
#endif // defined(WITH_OTLP_GRPC) | ||
|
||
#if defined(WITH_OTLP_HTTP) | ||
Create@OtlpHttpExporterFactory@otlp@exporter@v1@opentelemetry | ||
Create@OtlpHttpMetricExporterFactory@otlp@exporter@v1@opentelemetry | ||
Create@OtlpHttpLogRecordExporterFactory@otlp@exporter@v1@opentelemetry | ||
OtlpHttpExporterOptions@otlp@exporter@v1@opentelemetry | ||
OtlpHttpMetricExporterOptions@otlp@exporter@v1@opentelemetry | ||
OtlpHttpLogRecordExporterOptions@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultHttpTracesEndpoint@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultHttpMetricsEndpoint@otlp@exporter@v1@opentelemetry | ||
GetOtlpDefaultHttpLogsEndpoint@otlp@exporter@v1@opentelemetry | ||
#endif // defined(WITH_OTLP_HTTP) | ||
// clang-format on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Copyright The OpenTelemetry Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
param ($dumpbin, $bindir, $inputfile, $targetfile) | ||
|
||
"LIBRARY opentelemetry_cpp`r`nEXPORTS`r`n" > $targetfile | ||
|
||
Get-ChildItem -Verbose -Path $bindir/sdk/*,$bindir/exporters/* -Include *.lib -Recurse | % { & "$dumpbin" /SYMBOLS $_ | Select-String -Pattern @(Get-Content -Verbose -Path "$inputfile" | Where-Object { $_.Trim() -ne '' } | % { "External\s+\|\s+(\?+[0-9]?$_[^\s]*)\s+\((.*)\)$" }) | % { "; $($_.matches.groups[2])`r`n$($_.matches.groups[1])" } >> $targetfile } |
a232328
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'OpenTelemetry-cpp sdk Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.BM_BaselineBuffer/1
15006413.459777832
ns/iter4640138.626098633
ns/iter3.23
BM_BaselineBuffer/2
13867945.671081543
ns/iter2481272.0501870904
ns/iter5.59
BM_BaselineBuffer/4
10059006.214141846
ns/iter2528495.827579303
ns/iter3.98
This comment was automatically generated by workflow using github-action-benchmark.