mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-02 20:29:20 +00:00
perf tools: Add stat config event read function
Introducing the perf_event__read_stat_config function to read a struct perf_stat_config object data from a stat config event. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Kan Liang <kan.liang@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1445784728-21732-14-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
6742434261
commit
8e381596b6
3 changed files with 32 additions and 0 deletions
|
@ -477,6 +477,8 @@ int perf_event__synthesize_stat_config(struct perf_tool *tool,
|
|||
struct perf_stat_config *config,
|
||||
perf_event__handler_t process,
|
||||
struct machine *machine);
|
||||
void perf_event__read_stat_config(struct perf_stat_config *config,
|
||||
struct stat_config_event *event);
|
||||
|
||||
int perf_event__synthesize_modules(struct perf_tool *tool,
|
||||
perf_event__handler_t process,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue