
1. Prints Global shared memory & hashtables on console. 2. Provides flexibility to select tables and columns. 3. Provides option to specify handle range. 4. Option to print details of specific handle. Change-Id: I974cb16004328aa81020c008b486b4a78167f7be Signed-off-by: Priyanko Sarkar <quic_priyanko@quicinc.com>
40 lines
1.2 KiB
C
40 lines
1.2 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __SYNX_DEBUGFS_UTIL_H__
|
|
#define __SYNX_DEBUGFS_UTIL_H__
|
|
|
|
#include "synx_api.h"
|
|
#include "synx_private.h"
|
|
|
|
#define GLOBAL_HANDLE_STARTING_ID (1048577)
|
|
|
|
/* DMA FENCE print function */
|
|
void synx_debugfs_util_print_dma_fence(char **cur, char **end);
|
|
|
|
/* CSL FENCE print function */
|
|
void synx_debugfs_util_print_csl_fence(char **cur, char **end);
|
|
|
|
/* GLOBAL & LOCAL MAP print function */
|
|
void synx_debugfs_util_print_hash_table(char **cur, char **end, bool flag);
|
|
|
|
/* GLOBAL SHARED MEMORY print function */
|
|
void synx_debugfs_util_print_global_shared_memory(char **cur, char **end);
|
|
|
|
/* CLIENT MAP print function */
|
|
void synx_debugfs_util_print_client_table(char **cur, char **end);
|
|
|
|
/* Function to get SYNX State Name */
|
|
char *synx_debugfs_util_get_state_name(u32 status);
|
|
|
|
/* Function for loading content of the help option for debugfs v2 */
|
|
void synx_debugfs_util_load_help_content(char **cur, char **end);
|
|
|
|
/* Function to check entry of the global shared memory is valid or not */
|
|
bool synx_debugfs_util_is_valid_global_shared_memory_entry(struct synx_global_coredata *entry,
|
|
u32 idx);
|
|
|
|
#endif /* __SYNX_DEBUGFS_UTIL_H__ */
|