commit | 70c20369ee95ef8b6887944194cfb74a5a8d1fe3 | [log] [tgz] |
---|---|---|
author | Jiri Olsa <[email protected]> | Tue Sep 03 10:34:29 2019 +0200 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Wed Sep 25 09:51:48 2019 -0300 |
tree | e25bde2c86f36e6375d234e97e62050daca95b0a | |
parent | 1d5af02d7a92acaa877ab0fbec0756114852720a [diff] |
libperf: Add perf_evsel__alloc_id/perf_evsel__free_id functions Add perf_evsel__alloc_id()/perf_evsel__free_id() functions to libperf as internal functions. Move 'struct perf_sample_id' to internal/evsel.h header and change 'struct perf_sample_id::evsel' to 'struct perf_evsel' and the related code that touches it. Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>