mirror of
https://github.com/ARM-software/devlib.git
synced 2025-03-04 17:27:51 +00:00
92e16ee87374 ("instrument/daq: Add an explicit time column to the DAQ measurements") added a time column to the DAQ measurements in order to help correlate them with those of other collectors like FtraceCollector. Sadly, FTrace uses CLOCK_BOOTTIME instead of CLOCK_MONOTONIC by default. CLOCK_MONOTONIC is like CLOCK_BOOTTIME, except that it stops when the device suspends, which is why I hadn't spot the issue until now. Switch to CLOCK_BOOTTIME to get the intended behaviour of the original commit.
7 lines
136 B
Makefile
7 lines
136 B
Makefile
CFLAGS=-Wall --pedantic-errors -O2 -static
|
|
|
|
all: get_clock_boottime
|
|
|
|
get_clock_boottime: get_clock_boottime.c
|
|
$(CC) $(CFLAGS) $^ -o $@
|