libperf: Add counting example
authorMichael Petlan <mpetlan@redhat.com>
Thu, 27 Feb 2020 19:44:24 +0000 (20:44 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 4 Mar 2020 13:34:10 +0000 (10:34 -0300)
commit76ce02651dabee19df018097db4485800e05e177
tree0f3c69ab412a7d80d2f82e7c1cfa5b4545a6a31b
parentdabce16bd2926b82ef1bef70acd8b24828e9448b
libperf: Add counting example

Current libperf man pages mention file counting.c "coming with libperf package",
however, the file is missing. Add the file then.

Fixes: 81de3bf37a8b ("libperf: Add man pages")
Signed-off-by: Michael Petlan <mpetlan@redhat.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LPU-Reference: 20200227194424.28210-1-mpetlan@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/perf/Documentation/examples/counting.c [new file with mode: 0644]