Skip to content

Commit

Permalink
Rebase onto master
Browse files Browse the repository at this point in the history
  • Loading branch information
cvonelm committed Apr 27, 2023
1 parent dce31c2 commit dc2d7bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/lo2s/perf/event_description.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ struct EventDescription
// Needed when scaling multiplexed events, and recognize activation phases
perf_attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | PERF_FORMAT_TOTAL_TIME_RUNNING;

#if !defined(USE_HW_BREAKPOINT_COMPAT) && defined(USE_PERF_CLOCKID)
#ifndef USE_HW_BREAKPOINT_COMPAT
perf_attr.use_clockid = config().use_clockid;
perf_attr.clockid = config().clockid;
#endif
Expand Down
2 changes: 1 addition & 1 deletion include/lo2s/perf/sample/reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class Reader : public EventReader<T>
perf_attr.mmap = 1;
perf_attr.disabled = 1;

#if !defined(USE_HW_BREAKPOINT_COMPAT) && defined(USE_PERF_CLOCKID)
#ifndef USE_HW_BREAKPOINT_COMPAT
perf_attr.use_clockid = config().use_clockid;
perf_attr.clockid = config().clockid;
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/perf/counter/group/reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Reader<T>::Reader(ExecutionScope scope, bool enable_on_exec)

leader_attr.disabled = 1;

#if !defined(USE_HW_BREAKPOINT_COMPAT) && defined(USE_PERF_CLOCKID)
#ifndef USE_HW_BREAKPOINT_COMPAT
leader_attr.use_clockid = config().use_clockid;
leader_attr.clockid = config().clockid;
#endif
Expand Down

0 comments on commit dc2d7bf

Please sign in to comment.