diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-04-15 20:00:44 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2020-05-20 15:54:18 +0300 |
commit | 7daac5b2fdf88e3c3e84cf0d577f524beb0244ab (patch) | |
tree | a7e917835198b50771bbdc8a31418696316c4798 /tools/perf/scripts/python/flamegraph.py | |
parent | 8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff) | |
download | linux-7daac5b2fdf88e3c3e84cf0d577f524beb0244ab.tar.xz |
lib/vsprintf: Print time64_t in human readable format
There are users which print time and date represented by content of
time64_t type in human readable format.
Instead of open coding that each time introduce %ptT[dt][r] specifier.
Few test cases for %ptT specifier has been added as well.
Link: https://lore.kernel.org/r/20200415170046.33374-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Rewieved-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions