Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3242401pxb; Wed, 13 Oct 2021 01:53:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJeTSVvR5QNHOKwSSQO+q7kdlzbeWs4pd5eiA7Ur8MGFrBP1lSi2a6Nc9Fr/VHlMCqly2E X-Received: by 2002:a17:907:708e:: with SMTP id yj14mr38266954ejb.469.1634115195912; Wed, 13 Oct 2021 01:53:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634115195; cv=none; d=google.com; s=arc-20160816; b=YmoVx8Kod4vJ+5Z2BKzEWPjCKPVXzcjYfq0rwUneAnFvYyaxngtZhJOf94A6mMszBo v/zhZJHg3D7fv6GTqh0MqST0iHHZI04YNqE9CcK+baTvt+Quy7F4SsuH1LOH9op+CWhq le++Pr01mAoS4wq2g+1E/DgCR/KzV6EgbBNO19Pj4w/R9nu6Z3s3KmYIX59HkP+scCwd /YgXhM6MSVguII6L8jUARSlTNEKEBWORyeug7lOLZ1x67LSM3PiDjSwjRma0RBw82Hq/ hnUNHEOgufrHBEr+dV5yyWlUxGu2S1oWRVUpPgmwPaS8ii8nfvUQEQT5UxVDqieuuH4f M6EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/xQeJeUmpJlJzCaD4xNAcQ4788Uct2qKLbjhRFnjppI=; b=bi+6FhjDJSvrBf4S9SDnzLbd+H6f+ORCEdHFnLLzBm46M709Dj43wQKuQKOy2zxwc8 DI/exKH5WtrIBURhbCQYt1J6iCR3KsrG8EkwGE5O23R3rm7PNLJ9ykNBYNVZgq2O85MU jxc7SGWVu30pFxT7qEZP/ZurpLXAclWEqQ3/nesqywekQKtbAqEX08I6q//dL/PGHkSO YHTEM2UVv6u2K886hgWZqGZYRkqTKiS3v7YKwAO1mB3xL5iDWpivqitiziSG5MgXCpTG 42BWGzKoxn+1SY4V+2YOAe4VYhwOx+a6i13gvP6Gkp/EKK13tpAkLfIT63pdhcZvZ3IL Z4og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=JDn1+zwu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c19si13125704ede.586.2021.10.13.01.52.52; Wed, 13 Oct 2021 01:53:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=JDn1+zwu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234535AbhJMIvL (ORCPT + 99 others); Wed, 13 Oct 2021 04:51:11 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:46788 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231658AbhJMIvK (ORCPT ); Wed, 13 Oct 2021 04:51:10 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19D7KaHY022021; Wed, 13 Oct 2021 04:48:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pp1; bh=/xQeJeUmpJlJzCaD4xNAcQ4788Uct2qKLbjhRFnjppI=; b=JDn1+zwumLdHyTi3WmRf/u2ygAcKeV8ZSHrv/KR1+nt86Ay6HbaZzHiCMCJi1ZkZo28Z 6OlsBgx2W7WIcoxq1mwpLOcDQrmhA3rkib/R/CnWAVsjb5lD0wYxVh3dWrMYHjc1Dula jAr2b2lncnFoBD8u8BhvcrJdCw/tNxzPCsIvZbURiDO0d96om7FIuDgBXeTsE+OpTGVZ 3NLh+ka7/b2WKHU/m1fr+shSYYaNVh/JYadBaTSzh6hEOnUM5mn7Y1OtaCrr6QTnmOWD be9O2nODSTllUUtaZ4VYGldPPklCA99Ofi4GFwU/gA7Zt9Hin43qajx4YmZ4i1cNsK7z 2Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3bnr79d4va-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Oct 2021 04:48:32 -0400 Received: from m0098396.ppops.net (m0098396.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 19D6t5hh004374; Wed, 13 Oct 2021 04:48:32 -0400 Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com with ESMTP id 3bnr79d4um-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Oct 2021 04:48:31 -0400 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 19D8iESP028849; Wed, 13 Oct 2021 08:48:29 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma06fra.de.ibm.com with ESMTP id 3bk2bjppjr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Oct 2021 08:48:29 +0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 19D8mMf330540102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Oct 2021 08:48:23 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC77242045; Wed, 13 Oct 2021 08:48:22 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6B81F42042; Wed, 13 Oct 2021 08:48:22 +0000 (GMT) Received: from osiris (unknown [9.145.19.118]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 13 Oct 2021 08:48:22 +0000 (GMT) Date: Wed, 13 Oct 2021 10:48:20 +0200 From: Heiko Carstens To: Jiri Olsa Cc: Steven Rostedt , Thomas Gleixner , Ingo Molnar , Borislav Petkov , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/4] s390: DYNAMIC_FTRACE_WITH_DIRECT_CALL support Message-ID: References: <20211012133802.2460757-1-hca@linux.ibm.com> <20211012094852.7f6a59b8@gandalf.local.home> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 8cCMGh8B41tzZsxOaLfuIHobmF-Z5UOe X-Proofpoint-ORIG-GUID: i6e3rtHGX7nrW8M4BQpaE747vbSmy_dj X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-13_02,2021-10-13_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=944 malwarescore=0 adultscore=0 suspectscore=0 bulkscore=0 spamscore=0 phishscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110130057 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 12, 2021 at 08:25:14PM +0200, Heiko Carstens wrote: > On Tue, Oct 12, 2021 at 07:04:53PM +0200, Jiri Olsa wrote: > > > > See here: > > > > > > > > https://lore.kernel.org/all/20211008091336.33616-1-jolsa@kernel.org/ > > > > > > I applied Jiri's patch set and the newly added selftest passes. > > > > nice, could I have your Tested-by? ;-) > > Well, now I added also the missing pieces to ftrace-direct-multi > sample module and when loading that and looking into > /sys/kernel/debug/tracing/trace it looks like "my_direct_func" gets > some random junk as parameter and nothing that could count as "ip". > > Will look into that, probably tomorrow. Ok, if I load the correct module, it even works. I had a bug in the first version, fixed it, but still loaded the broken module to test my changes. Clever me ;) So it all works for me.