• Federico Vaga's avatar
    zio-trig-hrt.c: change relative time from 1h to 10s · 05e6986d
    Federico Vaga authored
    The in-kenrel hrt uses absolute times, and so does the zio trigger
    based on it.  However, for testing in shell scripts, relative times
    are easier to handle.  We accepted any "absolute" time less than 1 hour
    to be considered relative, but then we realized some embedded systems
    have no real-world time notion, so they start at Jan 1st 1970.
    
    This decreases relative times to 10s, assuming it's enough for shell
    scripts during testing and short enough to allow the rare embedded system
    to be later than tat by the time zio runs.
    Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
    Acked-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    05e6986d
Name
Last commit
Last update
Documentation/ABI/stable Loading commit data...
buffers Loading commit data...
doc Loading commit data...
drivers Loading commit data...
include/linux Loading commit data...
tools Loading commit data...
triggers Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
README Loading commit data...
bus.c Loading commit data...
chardev.c Loading commit data...
core.c Loading commit data...
helpers.c Loading commit data...
misc.c Loading commit data...
objects.c Loading commit data...
sysfs.c Loading commit data...
zio-internal.h Loading commit data...