From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-179.mta0.migadu.com (out-179.mta0.migadu.com [91.218.175.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CDF118A6AD for ; Fri, 13 Jun 2025 02:53:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749783183; cv=none; b=bawGPBkTl/mtenbEhfhggM0bci5HAzgkAKyr1aqkaeAms5fZgbR8A5w4VJ7At6cueEO40tKsvgRuEruk2aG/g0871sJQU0LGVydOa/KurdwH0y+lzZ5aAaYz75mh5BXbHzDL8PZGpkWHQyNtFSh+UmWXJkugYuNPHFkhUlS0YpU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749783183; c=relaxed/simple; bh=PoFqwsN2B5EhmtK22GXTU6a0tOLOFfisaWvAwGCVCQc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UkliI9KlyvJj+ro/8zLwg0F4ulDpvE1XAAW4a1v/6JhQ42FtnQ73mwp9euG+JNps+ddDFqLg5694L6m4x9Sdg9v6egPdJlpKPRHRho3/6j+r52x3j5DvDnIIRQbHP45nyj3R6dYcMch4cjMuSBjKW//25OdKnUWjaDmdprGhG0s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=K3JadRX0; arc=none smtp.client-ip=91.218.175.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="K3JadRX0" Message-ID: <00a22161-1e40-4ec0-be4f-e2c5dadbfe0b@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1749783169; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CX+/VP1MiFLEdPtc2XaV4WX2ozXiPR9ceMVaJT/kqo8=; b=K3JadRX0L2XSsGP/L0Q60CTd0b7I3e0wO1qHdGbl9W6sC0cO3F2BTcmkbn7MUOAN+pa+Rq OzoEPfTSFHhfFBBpuWCBOXFzazPBLnhxmEvhEJdl5LEUFRrLV51VAPeOa2zXgghAih+B9K Qgse4sRpiB6VkBNYrdSbc7JqzmWowgE= Date: Fri, 13 Jun 2025 10:52:41 +0800 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next 2/2] bpf: Add show_fdinfo for kprobe_multi To: Alexei Starovoitov Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Matt Bobrowski , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , bpf , LKML , linux-trace-kernel References: <20250612115556.295103-1-chen.dylane@linux.dev> <20250612115556.295103-2-chen.dylane@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Tao Chen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 在 2025/6/13 00:01, Alexei Starovoitov 写道: > On Thu, Jun 12, 2025 at 4:56 AM Tao Chen wrote: >> >> Show kprobe_multi link info with fdinfo, the info as follows: >> >> link_type: kprobe_multi >> link_id: 4 >> prog_tag: 279dd9c09dfbc757 >> prog_id: 30 >> type: kprobe_multi >> func_cnt: 8 >> missed: 0 >> addr: 0xffffffff81ecb1e0 > > fdinfo shouldn't print kernel addresses. > It defeats kaslr > How about print the function name corresponding of the address, or don't show the addr info. > pw-bot: cr -- Best Regards Tao Chen