Re: [PATCH v2 3/3] tracing: probeevent: Fix to make the type of $comm string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> On 22. Jan 2019, at 16:55, Sasha Levin <sashal@xxxxxxxxxx> wrote:
> 
> Hi,
> 
> [This is an automated email]
> 
> This commit has been processed because it contains a "Fixes:" tag,
> fixing commit: 35abb67de744 tracing: expose current->comm to [ku]probe events.
> 
> The bot has tested the following trees: v4.20.3, v4.19.16, v4.14.94, v4.9.151.
> 
> v4.20.3: Build OK!
> v4.19.16: Failed to apply! Possible dependencies:
>    40b53b771806 ("tracing: probeevent: Add array type support")
>    533059281ee5 ("tracing: probeevent: Introduce new argument fetching code")
>    56de76305279 ("tracing: probeevent: Cleanup print argument functions")
>    60c2e0cebfd0 ("tracing: probeevent: Add symbol type")
>    eeb07b061500 ("tracing: probeevent: Cleanup argument field definition")
>    f451bc89d835 ("tracing: probeevent: Unify fetch type tables")
> 
> v4.14.94: Failed to apply! Possible dependencies:
>    40b53b771806 ("tracing: probeevent: Add array type support")
>    45408c4f9250 ("tracing: kprobes: Prohibit probing on notrace function")
>    4bebdc7a85aa ("bpf: add helper bpf_perf_prog_read_value")
>    533059281ee5 ("tracing: probeevent: Introduce new argument fetching code")
>    60c2e0cebfd0 ("tracing: probeevent: Add symbol type")
>    908432ca84fc ("bpf: add helper bpf_perf_event_read_value for perf event array map")
>    97562633bcba ("bpf: perf event change needed for subsequent bpf helpers")
>    9802d86585db ("bpf: add a bpf_override_function helper")
>    b4da3340eae2 ("tracing/kprobe: bpf: Check error injectable event is on function entry")
>    cd86d1fd2102 ("bpf: Adding helper function bpf_getsockops")
>    dd0bb688eaa2 ("bpf: add a bpf_override_function helper")
>    de8f3a83b0a0 ("bpf: add meta pointer for direct access")
>    f3edacbd697f ("bpf: Revert bpf_overrid_function() helper changes.")
>    f451bc89d835 ("tracing: probeevent: Unify fetch type tables")
> 
> v4.9.151: Failed to apply! Possible dependencies:
>    17bedab27231 ("bpf: xdp: Allow head adjustment in XDP prog")
>    1d9995771fcb ("s390: update defconfigs")
>    23a4e389bdc7 ("nfp: create separate define for max number of vectors")
>    40b53b771806 ("tracing: probeevent: Add array type support")
>    45408c4f9250 ("tracing: kprobes: Prohibit probing on notrace function")
>    533059281ee5 ("tracing: probeevent: Introduce new argument fetching code")
>    60c2e0cebfd0 ("tracing: probeevent: Add symbol type")
>    67f8b1dcb9ee ("net/mlx4_en: Refactor the XDP forwarding rings scheme")
>    68453c7a8973 ("nfp: centralize runtime reconfiguration logic")
>    6b0b7551428e ("perf/core: Rename CONFIG_[UK]PROBE_EVENT to CONFIG_[UK]PROBE_EVENTS")
>    7ff5c83a1deb ("nfp: simplify nfp_net_poll()")
>    9802d86585db ("bpf: add a bpf_override_function helper")
>    a4b562bb8ebd ("nfp: use unsigned int for vector/ring counts")
>    b4da3340eae2 ("tracing/kprobe: bpf: Check error injectable event is on function entry")
>    cbeaf7aa733a ("nfp: bring back support for different ring counts")
>    ccc109b8ed24 ("net/mlx4_en: Add TX_XDP for CQ types")
>    dd0bb688eaa2 ("bpf: add a bpf_override_function helper")
>    e390b55d5aef ("bpf: make bpf_xdp_adjust_head support mandatory")
>    ecd63a0217d5 ("nfp: add XDP support in the driver")
>    f18f97ac43d7 ("tracing/kprobes: Add a helper method to return number of probe hits")
>    f3edacbd697f ("bpf: Revert bpf_overrid_function() helper changes.")
>    f451bc89d835 ("tracing: probeevent: Unify fetch type tables")
> 
> 
> How should we proceed with this patch?

I think this should be a case of backporting, which probably
needs

- removal of the 'parg->count ||' part from the if statement
  (and the ', and not an array.' part of the comment above it).
- addition of the old 'ftbl' parameter to find_fetch_type()

for all kernels up to v4.19.16.

While at it, 'deferred' in the newly added comment should
probably be 'dereferenced' to match the deleted comment.

Masami, do you want to fix this up and prepare backported
patches for the stable kernels?

Thanks,

Andreas





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux