mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
This patch adds a PMU callback and the required mechanic so that drivers can process the command line configuration elements found in evsel::config_terms. Signed-off-by: Mathieu Poirier <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
27 lines
844 B
C
27 lines
844 B
C
/*
|
|
* drv_configs.h: Interface to apply PMU specific configuration
|
|
* Copyright (c) 2016-2018, Linaro Ltd.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms and conditions of the GNU General Public License,
|
|
* version 2, as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef __PERF_DRV_CONFIGS_H
|
|
#define __PERF_DRV_CONFIGS_H
|
|
|
|
#include "drv_configs.h"
|
|
#include "evlist.h"
|
|
#include "evsel.h"
|
|
|
|
int perf_evlist__apply_drv_configs(struct perf_evlist *evlist,
|
|
struct perf_evsel **err_evsel,
|
|
struct perf_evsel_config_term **term);
|
|
#endif
|