mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-20 13:51:32 +00:00
perf tools: Rename struct thread_map to struct perf_thread_map
Rename struct thread_map to struct perf_thread_map, so it could be part of libperf. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexey Budankov <alexey.budankov@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20190721112506.12306-4-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
f854839ba2
commit
9749b90e56
29 changed files with 102 additions and 102 deletions
|
@ -605,7 +605,7 @@ static int pyrf_cpu_map__setup_types(void)
|
|||
struct pyrf_thread_map {
|
||||
PyObject_HEAD
|
||||
|
||||
struct thread_map *threads;
|
||||
struct perf_thread_map *threads;
|
||||
};
|
||||
|
||||
static int pyrf_thread_map__init(struct pyrf_thread_map *pthreads,
|
||||
|
@ -797,7 +797,7 @@ static PyObject *pyrf_evsel__open(struct pyrf_evsel *pevsel,
|
|||
{
|
||||
struct perf_evsel *evsel = &pevsel->evsel;
|
||||
struct perf_cpu_map *cpus = NULL;
|
||||
struct thread_map *threads = NULL;
|
||||
struct perf_thread_map *threads = NULL;
|
||||
PyObject *pcpus = NULL, *pthreads = NULL;
|
||||
int group = 0, inherit = 0;
|
||||
static char *kwlist[] = { "cpus", "threads", "group", "inherit", NULL };
|
||||
|
@ -866,7 +866,7 @@ static int pyrf_evlist__init(struct pyrf_evlist *pevlist,
|
|||
{
|
||||
PyObject *pcpus = NULL, *pthreads = NULL;
|
||||
struct perf_cpu_map *cpus;
|
||||
struct thread_map *threads;
|
||||
struct perf_thread_map *threads;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "OO", &pcpus, &pthreads))
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue