Add rpc method trace_get_info to show name of shared memory file, list of the available trace point groups and mask of the available trace points for each group. Fixes #2747 Signed-off-by: Xinrui Mao <xinrui.mao@intel.com> Change-Id: I2098283bed454dc46644fd2ca1b9568ab2aea81b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15426 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Xiaodong Liu <xiaodong.liu@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot
15 lines
282 B
C
15 lines
282 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright (C) 2022 Intel Corporation.
|
|
* All rights reserved.
|
|
*/
|
|
|
|
#ifndef __TRACE_INTERNAL_H__
|
|
#define __TRACE_INTERNAL_H__
|
|
|
|
#include "spdk/trace.h"
|
|
|
|
/* Get shared memory file name. */
|
|
const char *trace_get_shm_name(void);
|
|
|
|
#endif
|