Skip to content

Commit

Permalink
Merge pull request #337 from tud-zih-energy/issue-327-drop-cpuid-metr…
Browse files Browse the repository at this point in the history
…ic-for-sample

fix(sample): Drop cpuid_metric event from sample writing.
  • Loading branch information
bmario authored Jul 11, 2024
2 parents 53117b2 + ef12121 commit da7239d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 268 deletions.
4 changes: 0 additions & 4 deletions src/perf/sample/writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ bool Writer::handle(const Reader::RecordSampleType* sample)

update_current_thread(Process(sample->pid), Thread(sample->tid), tp);

cpuid_metric_event_.timestamp(tp);
cpuid_metric_event_.raw_values()[0] = sample->cpu;
otf2_writer_ << cpuid_metric_event_;

if (!has_cct_)
{
otf2_writer_.write_calling_context_sample(tp, cctx_manager_.sample_ref(sample->ip), 2,
Expand Down
264 changes: 0 additions & 264 deletions src/perf/syscall/sample/writer.cpp

This file was deleted.

0 comments on commit da7239d

Please sign in to comment.