]> git.baikalelectronics.ru Git - kernel.git/commit
perf test evlist-open-close: Use inline func to convert timeval to usec
authorRiccardo Mancini <rickyman7@gmail.com>
Sat, 21 Aug 2021 09:19:42 +0000 (11:19 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 8 Oct 2021 14:45:38 +0000 (11:45 -0300)
commit7619cf5e57ee3369d7ca30b1275af83b8409457c
tree9730dc244296a08b790884de1d218ff892e338e1
parent34e1da9d5a98f4b8e8bbfea4d422d9526c1622fa
perf test evlist-open-close: Use inline func to convert timeval to usec

This patch introduces a new inline function to convert a timeval to
usec.

This function will be used also in the next patch.

Signed-off-by: Riccardo Mancini <rickyman7@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/b95035ec4a125355be8ea843f7275c4580da6398.1629490974.git.rickyman7@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/bench/evlist-open-close.c