diff options
author | Wang Nan <[email protected]> | 2016-06-24 11:22:09 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-06-28 10:54:56 -0300 |
commit | 8ee4c46c5ec2481dd18098c5604f791ff911d427 (patch) | |
tree | a7779a4207e69549f0e3e00446e74b6435ddb035 /net/unix/af_unix.c | |
parent | f02a6489d1e181c6c2731e80ff37024a130c326a (diff) |
perf data ctf: Prepare collect non-sample events
Following commits are going to allow 'perf data convert' to collect not
only samples, but also non-sample events like comm and fork. In this
patch we count non-sample events using c.non_sample_count, and prepare
to print number of both type of events like:
# ~/perf data convert --all --to-ctf ./out.ctf
[ perf data convert: Converted 'perf.data' into CTF data './out.ctf' ]
[ perf data convert: Converted and wrote 0.846 MB (6508 samples, 686 non-samples) ]
Signed-off-by: Wang Nan <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions