mbox series

[v2,0/7] support set thread name

Message ID 1618650588-34268-1-git-send-email-humin29@huawei.com (mailing list archive)
Headers
Series support set thread name |

Message

humin (Q) April 17, 2021, 9:09 a.m. UTC
  This set of patches support set thread name for debugging.

Chengwen Feng (7):
  net/ark: support set thread name
  net/ice: support set VSI reset thread name
  vdpa/ifc: support set notify and vring relay thread name
  raw/ifpga: support set monitor thread name
  examples/performance-thread: support set thread name
  telemetry: support set init threads name
  examples/vhost_blk: support set ctrl worker thread name
---
v2:
* change 'pthread_create' to 'rte_ctrl_thread_create' except two:
'examples/performance-thread', because special CPU affinity needs
to be set, the ctrl interface cannot be used to set the affinity.
'telemetry', telemetry is an independent lib and does not depend
on EAL.

 drivers/net/ark/ark_ethdev.c                    |  4 ++--
 drivers/net/ice/ice_dcf_parent.c                |  9 ++++++---
 drivers/raw/ifpga/ifpga_rawdev.c                |  8 ++++----
 drivers/vdpa/ifc/ifcvf_vdpa.c                   | 20 ++++++++++++++------
 examples/performance-thread/pthread_shim/main.c |  5 +++++
 examples/vhost_blk/vhost_blk.c                  |  3 ++-
 lib/librte_telemetry/telemetry.c                |  3 ++-
 7 files changed, 35 insertions(+), 17 deletions(-)
  

Comments

Thomas Monjalon April 21, 2021, 1:58 p.m. UTC | #1
17/04/2021 11:09, Min Hu (Connor):
> This set of patches support set thread name for debugging.
> 
> Chengwen Feng (7):
>   net/ark: support set thread name
>   net/ice: support set VSI reset thread name
>   vdpa/ifc: support set notify and vring relay thread name
>   raw/ifpga: support set monitor thread name
>   examples/performance-thread: support set thread name
>   telemetry: support set init threads name
>   examples/vhost_blk: support set ctrl worker thread name
> ---
> v2:
> * change 'pthread_create' to 'rte_ctrl_thread_create' except two:
> 'examples/performance-thread', because special CPU affinity needs
> to be set, the ctrl interface cannot be used to set the affinity.
> 'telemetry', telemetry is an independent lib and does not depend
> on EAL.

Applied, thanks