diff options
author | Koan-Sin Tan <freedom.tan@linaro.org> | 2014-12-17 11:00:40 +0800 |
---|---|---|
committer | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2015-01-02 05:43:58 +0200 |
commit | 46a63275690ae8f0d49558f032752b747ec4ee48 (patch) | |
tree | 1302b1956b90dc2371012d042d6644c1d8ed1655 /trace_ops.h | |
parent | 241e7f176ebfcff47b35145a9bc5f6698c49ba40 (diff) |
Idlestat: Add importing 'trace-cmd report' format
trace-cmd(1) related tools are convenient for getting and
processing traces using Ftrace Linux kernel internal tracer.
Usually, trace-cmd-report(1) is used to convert files from
trace-cmd's trace-cmd.dat(5) binary format to human readable
text files.
Signed-off-by: Koan-Sin Tan <freedom.tan@linaro.org>
Reviewed-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org>
Diffstat (limited to 'trace_ops.h')
-rw-r--r-- | trace_ops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trace_ops.h b/trace_ops.h index 8885263..c23d873 100644 --- a/trace_ops.h +++ b/trace_ops.h @@ -11,6 +11,7 @@ struct trace_ops { struct cpuidle_datas *(*load)(const char *filename); }; +extern int load_text_data_line(char *buffer, struct cpuidle_datas *datas, char *format, double *begin, double *end, size_t *count, size_t *start); extern void load_text_data_lines(FILE *f, char *buffer, struct cpuidle_datas *datas); #define EXPORT_TRACE_OPS(tracetype_name) \ |