diff options
author | Ingo Molnar <mingo@kernel.org> | 2021-03-19 12:10:49 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-03-19 12:10:49 +0100 |
commit | 01438749e36bfe53ea25c91568019be775a9782e (patch) | |
tree | f91f5abae2004863afda683589d034dcd2000ab8 /tools/perf/bench/sched-messaging.c | |
parent | locking/rwsem: Fix comment typo (diff) | |
parent | locking/ww_mutex: Fix acquire/release imbalance in ww_acquire_init()/ww_acqui... (diff) | |
download | linux-01438749e36bfe53ea25c91568019be775a9782e.tar.xz linux-01438749e36bfe53ea25c91568019be775a9782e.zip |
Merge branch 'locking/urgent' into locking/core, to pick up dependent commits
We are applying further, lower-prio fixes on top of two ww_mutex fixes in locking/urgent.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/bench/sched-messaging.c')
-rw-r--r-- | tools/perf/bench/sched-messaging.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/bench/sched-messaging.c b/tools/perf/bench/sched-messaging.c index cecce93ccc63..488f6e6ba1a5 100644 --- a/tools/perf/bench/sched-messaging.c +++ b/tools/perf/bench/sched-messaging.c @@ -309,11 +309,11 @@ int bench_sched_messaging(int argc, const char **argv) num_groups, num_groups * 2 * num_fds, thread_mode ? "threads" : "processes"); printf(" %14s: %lu.%03lu [sec]\n", "Total time", - diff.tv_sec, + (unsigned long) diff.tv_sec, (unsigned long) (diff.tv_usec / USEC_PER_MSEC)); break; case BENCH_FORMAT_SIMPLE: - printf("%lu.%03lu\n", diff.tv_sec, + printf("%lu.%03lu\n", (unsigned long) diff.tv_sec, (unsigned long) (diff.tv_usec / USEC_PER_MSEC)); break; default: |