Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ class StackRenderer
uintptr_t thread_id,
unsigned long native_id);
void render_task_begin(const std::string& task_name, bool on_cpu);
void render_stack_begin();
void render_frame(Frame& frame);
void render_cpu_time(uint64_t cpu_time_us);
void render_stack_end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,6 @@ ThreadInfo::sample(EchionSampler& echion, PyThreadState* tstate, microsecond_t d

const auto& task_name = maybe_task_name->get();
renderer.render_task_begin(task_name, task_stack_info->on_cpu);
renderer.render_stack_begin();

task_stack_info->stack.render(echion);

Expand All @@ -662,7 +661,6 @@ ThreadInfo::sample(EchionSampler& echion, PyThreadState* tstate, microsecond_t d

const auto& task_name = maybe_task_name->get();
renderer.render_task_begin(task_name, greenlet_stack->on_cpu);
renderer.render_stack_begin();

auto& stack = greenlet_stack->stack;
stack.render(echion);
Expand All @@ -672,7 +670,6 @@ ThreadInfo::sample(EchionSampler& echion, PyThreadState* tstate, microsecond_t d

current_greenlets.clear();
} else {
renderer.render_stack_begin();
python_stack.render(echion);
renderer.render_stack_end();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,6 @@ StackRenderer::render_task_begin(const std::string& task_name, bool on_cpu)
pushed_task_name = true;
}

void
StackRenderer::render_stack_begin()
{
// This function is part of the necessary API, but it is unused by the Datadog profiler for now.
}

void
StackRenderer::render_frame(Frame& frame)
{
Expand Down