diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2024-12-06 20:48:28 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2025-01-08 20:31:06 +0000 |
| commit | 64a7617efd5ae1d57a75e464d7134eec947c3fe3 (patch) | |
| tree | 3b0118f1095e61c9e4d3715f0ae3eb00d0dbfd2c /tools/perf/util/llvm-c-helpers.cpp | |
| parent | perf jitdump: Fixup in_pidns member when java agent and 'perf record' are not... (diff) | |
| download | kernel-64a7617efd5ae1d57a75e464d7134eec947c3fe3.tar.gz kernel-64a7617efd5ae1d57a75e464d7134eec947c3fe3.zip | |
perf namespaces: Fixup the nsinfo__in_pidns() return type, its bool
When adding support for refconunt checking a cut'n'paste made this
function, that is just an accessor to a bool member of 'struct nsinfo',
return a pid_t, when that member is a boolean, fix it.
Fixes: bcaf0a97858de7ab ("perf namespaces: Add functions to access nsinfo")
Reported-by: Francesco Nigro <[email protected]>
Reported-by: Ilan Green <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Clark Williams <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Yonatan Goldschmidt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/llvm-c-helpers.cpp')
0 files changed, 0 insertions, 0 deletions
