MCPcopy Create free account

hub / github.com/DataDog/datadog-agent / functions

Functions32,574 in github.com/DataDog/datadog-agent

↓ 1 callersMethodparseTasks
(ctx context.Context, tasks []v1.Task)
pkg/workloadmeta/collectors/internal/ecs/ecs.go:101
↓ 1 callersFunctionparseTraceLine
(raw string)
pkg/security/tests/trace_pipe.go:74
↓ 1 callersFunctionparseTraceLine
(raw string)
pkg/ebpf/ebpftest/trace_pipe_linux.go:60
↓ 1 callersFunctionparseTypeBool
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:664
↓ 1 callersFunctionparseTypeCIDRs
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:678
↓ 1 callersFunctionparseTypeDuration
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:691
↓ 1 callersFunctionparseTypeFloat
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:702
↓ 1 callersFunctionparseTypeIP
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:724
↓ 1 callersFunctionparseTypeRange
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:729
↓ 1 callersFunctionparseTypeStringsArray
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:753
↓ 1 callersFunctionparseURL
(address string)
comp/logs/agent/config/config.go:296
↓ 1 callersFunctionparseUnistdTable
(url string)
pkg/security/secl/model/syscall_table_generator/syscall_table_generator.go:119
↓ 1 callersFunctionparseV1CPUAcctStatFn
(stats *CPUStats)
pkg/util/cgroups/cgroupv1_cpu.go:110
↓ 1 callersFunctionparse_args
()
test/integration/serverless/log_normalize.py:282
↓ 1 callersFunctionparse_datetime
(dt)
tasks/libs/pipeline_tools.py:27
↓ 1 callersFunctionparse_file
Parses the output of the golangci-lint run. Returns a Dict(linter: List(base_path, row, col, lint, descr)).
tasks/show_linters_issues/golangci_lint_parser.py:37
↓ 1 callersFunctionparse_hw_impl_list
Parse lines of the form `{ k, ident, name },`, where k is a number, ident is an identifier, and name is a string
pkg/gohai/cpu/from-lscpu-arm.py:82
↓ 1 callersFunctionparse_line
This method goes line-by-line in the file and returns the machine usable fields from it.
tools/dep_tree_resolver/dep_why.py:11
↓ 1 callersFunctionparse_log_file
Parse log file and return relevant line to print in GitlabCI logs. The function will iterate over the log file, and check a line matching the
tasks/libs/github_actions_tools.py:177
↓ 1 callersFunctionparse_part_list
Parse lines of the form `{ k, v },`, where k is a number and v is a string
pkg/gohai/cpu/from-lscpu-arm.py:67
↓ 1 callersFunctionpatchDisplay
(cm, updateNumbersFrom, dims)
cmd/agent/gui/views/private/js/codemirror.js:4257
↓ 1 callersFunctionpatchProtocolMock
patchProtocolMock updates the map of known protocols to replace the mock factory in place of the HTTP protocol factory
pkg/network/usm/monitor_testutil.go:79
↓ 1 callersFunctionpatch_data
(data, patch_key, patch_leaf)
test/e2e/containers/fake_datadog/app/api.py:72
↓ 1 callersFunctionpatch_summary
(diff)
tasks/diff.py:186
↓ 1 callersFunctionpatchedIsWindowsService
This function is a clone of "golang.org/x/sys/windows/svc:IsWindowsService", but with a fix for Windows containers. Go cloned the .NET implementation
pkg/util/winutil/servicemain/servicemain.go:128
↓ 1 callersFunctionpathEmbedded
(fullPath, embedded string)
test/new-e2e/system-probe/test-runner/main.go:76
↓ 1 callersFunctionpathIsMalformed
(fullPath []byte)
pkg/network/protocols/http/statkeeper.go:138
↓ 1 callersFunctionpathToPackage
(path string)
test/new-e2e/system-probe/test-runner/main.go:113
↓ 1 callersFunctionpauseContainersIDs
Returns a set indexed by namespace and containerID
pkg/collector/corechecks/containers/containerd/events.go:465
↓ 1 callersFunctionpause_domains
(conn, stack)
tasks/kernel_matrix_testing/libvirt.py:80
↓ 1 callersFunctionpayloadGen
(size int, resolveRatio float64, added []util.Address)
pkg/network/dns/cache_test.go:335
↓ 1 callersFunctionpdhGetFormattedCounterArray
Enum enumerates performance counter values for a wildcard instance counter (e.g. `\Process(*)\% Processor Time`) Will append '#<INDEX>' to duplicate
pkg/util/winutil/pdhutil/pdhhelper.go:246
↓ 1 callersFunctionpemBlockForKey
(privateKey interface{})
pkg/util/kubernetes/kubelet/kubelet_test.go:116
↓ 1 callersFunctionpemBlockForKey
(privateKey interface{})
test/integration/utils/certificates.go:47
↓ 1 callersFunctionperfBufferMemoryUsage
(mapStats *model.EBPFMapStats, info *ebpf.MapInfo, k *Probe)
pkg/collector/corechecks/ebpf/probe/ebpfcheck/probe.go:460
↓ 1 callersMethodpickCheckToMove
pickCheckToMove select the most appropriate check to move from a node to another. A check Xi running on a node N is chosen to move to another node if
pkg/clusteragent/clusterchecks/dispatcher_rebalance.go:105
↓ 1 callersFunctionpickNode
pickNode select the most appropriate node to receive a specific check. A node Ni is most appropriate to receive a check with a weight W if it satisfie
pkg/clusteragent/clusterchecks/dispatcher_rebalance.go:123
↓ 1 callersFunctionpidMapToProcDiscoveries
(pidMap map[int32]*procutil.Process, userProbe *LookupIdProbe)
pkg/process/checks/process_discovery_check.go:119
↓ 1 callersMethodpids
pids returns a list of the specified container's PIDs
pkg/util/containers/metrics/docker/collector.go:180
↓ 1 callersFunctionpipelineStatsErrorHandler
(err error)
pkg/trace/api/pipeline_stats.go:63
↓ 1 callersMethodpipeline_schedule
Gets a single pipeline schedule.
tasks/libs/common/gitlab.py:199
↓ 1 callersFunctionplatGetServerInfo
(data *byte)
pkg/gohai/platform/platform_windows_386.go:13
↓ 1 callersFunctionplatformCWSConfig
(cfg Config)
pkg/config/system_probe_cws_notwin.go:10
↓ 1 callersFunctionplatformInit
()
pkg/network/tracer/tracer_linux_test.go:62
↓ 1 callersFunctionplatformLoaderDone
()
pkg/collector/python/loader_stubs.go:14
↓ 1 callersFunctionplatformLoaderPrep
()
pkg/collector/python/loader_stubs.go:10
↓ 1 callersMethodplaySnapshot
playSnapshot plays a snapshot
pkg/security/probe/probe_linux.go:329
↓ 1 callersMethodpodExec
(namespace, pod, container string, cmd []string)
test/new-e2e/tests/containers/k8s_test.go:687
↓ 1 callersFunctionpodPhaseTransformer
podPhaseTransformer sends status phase metrics for pods, the tag phase has the pod status
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:241
↓ 1 callersMethodpoll
(forcePoll bool)
pkg/clusteragent/admission/patch/file_provider.go:87
↓ 1 callersMethodpollLoop
pollLoop is the main polling loop of the client. pollLoop should never be called manually and only be called via the client's `sync.Once` structure i
pkg/config/remote/client.go:278
↓ 1 callersMethodpollPackets
()
pkg/network/dns/snooper.go:184
↓ 1 callersMethodpollStats
()
pkg/network/filter/packet_source_linux.go:127
↓ 1 callersMethodpool
(self, name, depth)
tasks/libs/ninja_syntax.py:55
↓ 1 callersMethodpopulate
()
test/integration/config_providers/zookeeper/zookeeper_provider_test.go:120
↓ 1 callersMethodpopulateEtcd
()
test/integration/config_providers/etcd/etcd_provider_test.go:91
↓ 1 callersMethodpopulateFieldsWithRuleActionsData
(policyRules []*RuleDefinition)
pkg/security/secl/rules/ruleset.go:298
↓ 1 callersFunctionpopulateMemoryProfileConfig
(cliParams *cliParams, initConfig map[string]interface{})
pkg/cli/subcommands/check/command.go:570
↓ 1 callersMethodpopulateUDPExpectedValues
(expected *fieldValues)
pkg/network/tracer/offsetguess/tracer.go:966
↓ 1 callersMethodpopulateUDPExpectedValues
(expected *fieldValues)
pkg/network/tracer/offsetguess/conntrack.go:385
↓ 1 callersMethodpopulateWebhooksCache
(webhooks ...*admiv1beta1.MutatingWebhookConfiguration)
pkg/clusteragent/admission/controllers/webhook/controller_v1beta1_test.go:831
↓ 1 callersMethodpopulateWebhooksCache
(webhooks ...*admiv1.MutatingWebhookConfiguration)
pkg/clusteragent/admission/controllers/webhook/controller_v1_test.go:833
↓ 1 callersFunctionportToUint
(v int)
comp/otelcol/otlp/config.go:22
↓ 1 callersFunctionpositionLineWidget
(widget, node, lineView, dims)
cmd/agent/gui/views/private/js/codemirror.js:2299
↓ 1 callersFunctionpostCheckStatus
postCheckStatus is used by the node-agent's config provider
cmd/cluster-agent/api/v1/clusterchecks.go:40
↓ 1 callersMethodpostHeartbeat
(ctx context.Context)
pkg/autodiscovery/providers/clusterchecks.go:207
↓ 1 callersFunctionpostProcess
Name processes "kernel" if they're a kernel thread
pkg/gohai/processes/gops/process_info_linux.go:39
↓ 1 callersFunctionpostRebalanceChecks
postRebalanceChecks requests that the cluster checks be rebalanced
cmd/cluster-agent/api/v1/clusterchecks.go:96
↓ 1 callersFunctionpostRegister
(_ *config.Config)
cmd/system-probe/api/module/loader_linux.go:19
↓ 1 callersFunctionpower_log_str
(x)
tasks/kernel_matrix_testing/vmconfig.py:169
↓ 1 callersFunctionpreAllocateEvents
(n int)
test/benchmarks/aggregator/memory.go:58
↓ 1 callersFunctionpreAllocateMetrics
(n int)
test/benchmarks/aggregator/memory.go:26
↓ 1 callersFunctionpreAllocateServiceChecks
(n int)
test/benchmarks/aggregator/memory.go:80
↓ 1 callersFunctionpreRegister
(_ *config.Config)
cmd/system-probe/api/module/loader_linux.go:15
↓ 1 callersMethodpreferred
preferred returns the preferred LogWhat, based on configuration
pkg/logs/internal/util/containersorpods/containers_or_pods.go:165
↓ 1 callersFunctionprefetchLib
(t *testing.T, filenames ...string)
pkg/network/tracer/tracer_usm_linux_test.go:218
↓ 1 callersFunctionprepare
(ctx, vms, stack=None, arch=None, ssh_key="", rebuild_deps=False, packages="")
tasks/kmt.py:318
↓ 1 callersMethodprepare
prepare initializes the collector bundle internals before it can be used.
pkg/collector/corechecks/cluster/orchestrator/collector_bundle.go:87
↓ 1 callersMethodprepareArchitectureCase
(compressedValueSet compressedArchitectureValueSet)
pkg/network/go/lutgen/function.go:181
↓ 1 callersMethodprepareCFApplications
(appsMap map[string]*cfclient.V3App, processesMap map[string][]*cfclient.Process, spacesMap map[string]*cfclie
pkg/util/cloudproviders/cloudfoundry/cccache.go:607
↓ 1 callersMethodprepareCollectors
prepareCollectors initializes the bundle collector list.
pkg/collector/corechecks/cluster/orchestrator/collector_bundle.go:93
↓ 1 callersFunctionprepareCompletionBuffers
prepare N read buffers and return the IoCompletionPort that will be used to coordinate reads. danger: even though all reads will reference the returne
pkg/network/dns/driver_windows.go:186
↓ 1 callersFunctionprepareConfig
(c corecompcfg.Component)
comp/trace/config/setup.go:85
↓ 1 callersMethodprepareContextTags
()
pkg/security/security_profile/dump/manager.go:341
↓ 1 callersMethodprepareContextTags
()
pkg/security/resolvers/sbom/resolver.go:166
↓ 1 callersMethodprepareDNSNode
(n *DNSNode, data *utils.Graph, processID utils.GraphID)
pkg/security/security_profile/activity_tree/activity_tree_graph.go:135
↓ 1 callersMethodprepareFileNode
(f *FileNode, data *utils.Graph, prefix string, processID utils.GraphID)
pkg/security/security_profile/activity_tree/activity_tree_graph.go:210
↓ 1 callersMethodprepareProcessNode
(p *ProcessNode, data *utils.Graph, resolver *process.Resolver)
pkg/security/security_profile/activity_tree/activity_tree_graph.go:53
↓ 1 callersMethodprepareProfile
prepareProfile (thread unsafe) generates eBPF programs and cookies to prepare for kernel space insertion
pkg/security/security_profile/profile/manager.go:600
↓ 1 callersMethodprepareSocketNode
(n *SocketNode, data *utils.Graph, processID utils.GraphID)
pkg/security/security_profile/activity_tree/activity_tree_graph.go:163
↓ 1 callersMethodprepareSyscallsNode
(p *ProcessNode, data *utils.Graph)
pkg/security/security_profile/activity_tree/activity_tree_graph.go:240
↓ 1 callersMethodpreventNetworkNamespaceDrift
preventNetworkNamespaceDrift ensures that we do not keep network namespace handles indefinitely
pkg/security/resolvers/netns/resolver.go:465
↓ 1 callersMethodpreventSegmentMajorPageFault
preventSegmentMajorPageFault prepares the userspace memory area where the dentry resolver response is written. Used in kernel versions where BPF_F_MMA
pkg/security/resolvers/dentry/resolver.go:437
↓ 1 callersMethodprint
()
pkg/config/legacy/kubernetes.go:73
↓ 1 callersFunctionprintContainerExclusionRulesInfo
(w io.Writer, c *integration.Config)
pkg/flare/config_check.go:165
↓ 1 callersFunctionprintDepTree
TODO: Actually use `skipDuplicates` value
tools/dep_tree_resolver/go_deps.go:371
↓ 1 callersFunctionprintEventValues
Example usage of the eventlog utility library to render specific values from the event
pkg/util/winutil/eventlog/example_test.go:98
↓ 1 callersFunctionprintEventXML
Example usage of the eventlog utility library to render the entire event as XML
pkg/util/winutil/eventlog/example_test.go:87
↓ 1 callersFunctionprintEventsJSON
(events []*model.ProcessEvent)
cmd/process-agent/subcommands/events/events.go:120
↓ 1 callersFunctionprintHistory
(out io.Writer, history v1.History)
pkg/workloadmeta/types.go:996
← previousnext →14,501–14,600 of 32,574, ranked by callers