linux-stable/tools
Steve Chou 32d92df24f tools/mm/page_owner_sort.c: fix TGID output when cull=tg is used
commit 9235756885 upstream.

When using cull option with 'tg' flag, the fprintf is using pid instead
of tgid. It should use tgid instead.

Link: https://lkml.kernel.org/r/20230411034929.2071501-1-steve_chou@pesi.com.tw
Fixes: 9c8a0a8e59 ("tools/vm/page_owner_sort.c: support for user-defined culling rules")
Signed-off-by: Steve Chou <steve_chou@pesi.com.tw>
Cc: Jiajian Ye <yejiajian2018@email.szu.edu.cn>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-26 14:30:04 +02:00
..
accounting
arch
bootconfig bootconfig: Fix testcase to increase max node 2023-03-30 12:50:57 +02:00
bpf bpftool: Always disable stack protection for BPF objects 2023-03-10 09:29:08 +01:00
build
certs
cgroup
counter
debugging
edid
firewire
firmware
gpio
hv
iio tools/iio/iio_utils:fix memory leak 2023-03-11 13:50:40 +01:00
include
io_uring
kvm/kvm_stat
laptop
leds
lib libbpf: Fix btf_dump's packed struct determination 2023-04-06 12:12:48 +02:00
memory-model
objtool objtool: Fix memory leak in create_static_call_sections() 2023-03-11 13:50:21 +01:00
pci
pcmcia
perf perf stat: Fix counting when initial delay configured 2023-03-17 08:57:53 +01:00
power tools/power turbostat: fix decoding of HWP_STATUS 2023-04-06 12:12:30 +02:00
rcu
scripts
spi
testing selftests: sigaltstack: fix -Wuninitialized 2023-04-26 14:29:59 +02:00
thermal
time
tracing tools/tracing/rtla: osnoise_hist: use total duration for average calculation 2023-03-10 09:28:43 +01:00
usb
verification
virtio
vm tools/mm/page_owner_sort.c: fix TGID output when cull=tg is used 2023-04-26 14:30:04 +02:00
wmi
Makefile