summaryrefslogtreecommitdiff
path: root/tools/perf/util/time-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/time-utils.h')
-rw-r--r--tools/perf/util/time-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/time-utils.h b/tools/perf/util/time-utils.h
index b923de44e36f..72a42ea1d513 100644
--- a/tools/perf/util/time-utils.h
+++ b/tools/perf/util/time-utils.h
@@ -30,6 +30,7 @@ int perf_time__parse_for_ranges(const char *str, struct perf_session *session,
int *range_size, int *range_num);
int timestamp__scnprintf_usec(u64 timestamp, char *buf, size_t sz);
+int timestamp__scnprintf_nsec(u64 timestamp, char *buf, size_t sz);
int fetch_current_timestamp(char *buf, size_t sz);