diff options
author | Namhyung Kim <namhyung@kernel.org> | 2022-08-11 21:54:54 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-08-11 23:57:11 +0300 |
commit | d6f415ca33e132d14743c36ad4e2b63dc8ad0b18 (patch) | |
tree | 3058872a00666c4d48f8f5544299805fa183591a /tools/perf/util/hashmap.c | |
parent | 07fc958b0cfcd8e44f0de13625a551dd16b97eb4 (diff) | |
download | linux-d6f415ca33e132d14743c36ad4e2b63dc8ad0b18.tar.xz |
perf offcpu: Parse process id separately
The current target code uses thread id for tracking tasks because
perf_events need to be opened for each task. But we can use tgid in
BPF maps and check it easily.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Blake Jones <blakejones@google.com>
Cc: Hao Luo <haoluo@google.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20220811185456.194721-3-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hashmap.c')
0 files changed, 0 insertions, 0 deletions