Skip to content

Commit 210f484

Browse files
chore(profiling): remove memory.h from echion
1 parent 69fcec3 commit 210f484

File tree

3 files changed

+9
-373
lines changed

3 files changed

+9
-373
lines changed

ddtrace/internal/datadog/profiling/stack_v2/echion/echion/config.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ inline int cpu = 0;
1919
// Set this to false to unwind all threads.
2020
inline bool ignore_non_running_threads = true;
2121

22-
// Memory events
23-
inline int memory = 0;
24-
2522
// Native stack sampling
2623
inline int native = 0;
2724

@@ -70,18 +67,6 @@ static PyObject* set_cpu(PyObject* Py_UNUSED(m), PyObject* args)
7067
Py_RETURN_NONE;
7168
}
7269

73-
// ----------------------------------------------------------------------------
74-
static PyObject* set_memory(PyObject* Py_UNUSED(m), PyObject* args)
75-
{
76-
int new_memory;
77-
if (!PyArg_ParseTuple(args, "p", &new_memory))
78-
return NULL;
79-
80-
memory = new_memory;
81-
82-
Py_RETURN_NONE;
83-
}
84-
8570
// ----------------------------------------------------------------------------
8671
static PyObject* set_native(PyObject* Py_UNUSED(m), PyObject* Py_UNUSED(args))
8772
{

ddtrace/internal/datadog/profiling/stack_v2/echion/echion/memory.h

Lines changed: 0 additions & 332 deletions
This file was deleted.

0 commit comments

Comments
 (0)