From: "Xu, Yanfei via lttng-dev" <lttng-dev@lists.lttng.org>
To: Michael Jeanson <mjeanson@efficios.com>, lttng-dev@lists.lttng.org
Subject: Re: [lttng-dev] [BUG lttng-modules] lttng-module compile failed with the v5.12 kernel
Date: Tue, 30 Mar 2021 10:53:10 +0800 [thread overview]
Message-ID: <2a3eaaa3-ec56-8b6f-2e30-904e912b7493@windriver.com> (raw)
In-Reply-To: <da06aa44-d0fa-76df-607c-9713d4799cb4@efficios.com>
On 3/29/21 9:54 PM, Michael Jeanson via lttng-dev wrote:
> [Please note: This e-mail is from an EXTERNAL e-mail address]
>
> On 2021-03-29 02 h 34, Xu, Yanfei via lttng-dev wrote:
>> Hi experts,
>>
>> I found a file named lttng-statedump-impl.c in lttng-module is always
>> compiled failed. The file use some functions which were export from
>> kernel. But the v5.12 kernel unexport them by 'commit bc359d03c7ec
>> ("block: add a disk_uevent helper")'.
>>
>> The function are disk_part_iter_init()\disk_part_iter_next()
>> \disk_part_iter_exit()
>>
>> Thanks,
>> Yanfei
>
> Hi,
>
> Can you have a look at this patch, it needs more testing :
>
> https://review.lttng.org/c/lttng-modules/+/5050
Thanks, I have applied it to my project and it can perfectly solve the
compile failure. Just a minor typo 'arounf' in src/wrapper/genhd.c
Regards,
Yanfei
>
> Thanks,
>
> Michael
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
prev parent reply other threads:[~2021-03-30 2:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-29 6:34 Xu, Yanfei via lttng-dev
2021-03-29 13:54 ` Michael Jeanson via lttng-dev
2021-03-30 2:53 ` Xu, Yanfei via lttng-dev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2a3eaaa3-ec56-8b6f-2e30-904e912b7493@windriver.com \
--to=lttng-dev@lists.lttng.org \
--cc=mjeanson@efficios.com \
--cc=yanfei.xu@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox