mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 06:02:38 +00:00
staging: csr: csr_log_configure.h: remove a bunch of function protos
all protos that are removed does not have a function definition so remove all of them together Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
32a126966f
commit
d0eb3ddb44
@ -12,31 +12,6 @@
|
||||
|
||||
#include "csr_log.h"
|
||||
|
||||
/*---------------------------------*/
|
||||
/* Log init/deinit */
|
||||
/*---------------------------------*/
|
||||
void CsrLogInit(u8 size);
|
||||
void CsrLogDeinit(void);
|
||||
|
||||
/*---------------------------------*/
|
||||
/* Log Framework Tech info */
|
||||
/*---------------------------------*/
|
||||
void CsrLogTechInfoRegister(void);
|
||||
|
||||
/* Set the logging level for the environment outside the scheduler context */
|
||||
void CsrLogLevelEnvironmentSet(CsrLogLevelEnvironment environmentLogLevel);
|
||||
|
||||
|
||||
/* Set the logging level for all scheduler tasks */
|
||||
/* This function call takes precedence over all previous calls to CsrLogLevelTaskSetSpecific() */
|
||||
void CsrLogLevelTaskSetAll(CsrLogLevelTask tasksLogLevelMask);
|
||||
|
||||
/* Set the logging level for a given Task */
|
||||
/* This function can be used as a complement to CsrLogLevelTaskSetAll() to add more _or_ less log from a given task than what is set
|
||||
generally with CsrLogLevelTaskSetAll(). */
|
||||
void CsrLogLevelTaskSetSpecific(CsrSchedQid taskId, CsrLogLevelTask taskLogLevelMask);
|
||||
|
||||
|
||||
/*--------------------------------------------*/
|
||||
/* Filtering on log text warning levels */
|
||||
/*--------------------------------------------*/
|
||||
@ -61,66 +36,4 @@ typedef u32 CsrLogLevelText;
|
||||
* taskId's in the range 0x0600xxxx to 0x06FFxxxx. And so on for other technologies. */
|
||||
typedef u32 CsrLogTextTaskId;
|
||||
|
||||
/* Set the text logging level for all Tasks */
|
||||
/* This function call takes precedence over all previous calls to CsrLogLevelTextSetTask() and CsrLogLevelTextSetTaskSubOrigin() */
|
||||
void CsrLogLevelTextSetAll(CsrLogLevelText warningLevelMask);
|
||||
|
||||
/* Set the text logging level for a given Task */
|
||||
/* This function call takes precedence over all previous calls to CsrLogLevelTextSetTaskSubOrigin(), but it can be used as a complement to
|
||||
* CsrLogLevelTextSetAll() to add more _or_ less log from a given task than what is set generally with CsrLogLevelTextSetAll(). */
|
||||
void CsrLogLevelTextSetTask(CsrLogTextTaskId taskId, CsrLogLevelText warningLevelMask);
|
||||
|
||||
/* Set the text logging level for a given tasks subOrigin */
|
||||
/* This function can be used as a complement to CsrLogLevelTextSetAll() and CsrLogLevelTextSetTask() to add more _or_ less log from a given
|
||||
* subOrigin within a task than what is set generally with CsrLogLevelTextSetAll() _or_ CsrLogLevelTextSetTask(). */
|
||||
void CsrLogLevelTextSetTaskSubOrigin(CsrLogTextTaskId taskId, u16 subOrigin, CsrLogLevelText warningLevelMask);
|
||||
|
||||
/*******************************************************************************
|
||||
|
||||
NAME
|
||||
CsrLogLevelTextSet
|
||||
|
||||
DESCRIPTION
|
||||
Set the text logging level for a given origin and optionally sub origin
|
||||
by name. If either string is NULL or zero length, it is interpreted as
|
||||
all origins and/or all sub origins respectively. If originName is NULL
|
||||
or zero length, subOriginName is ignored.
|
||||
|
||||
Passing NULL or zero length strings in both originName and subOriginName
|
||||
is equivalent to calling CsrLogLevelTextSetAll, and overrides all
|
||||
previous filter configurations for all origins and sub origins.
|
||||
|
||||
Passing NULL or a zero length string in subOriginName overrides all
|
||||
previous filter configurations for all sub origins of the specified
|
||||
origin.
|
||||
|
||||
Note: the supplied strings may be accessed after the function returns
|
||||
and must remain valid and constant until CsrLogDeinit is called.
|
||||
|
||||
Note: when specifying an origin (originName is not NULL and not zero
|
||||
length), this function can only be used for origins that use the
|
||||
csr_log_text_2.h interface for registration and logging. Filtering for
|
||||
origins that use the legacy csr_log_text.h interface must be be
|
||||
configured using the legacy filter configuration functions that accept
|
||||
a CsrLogTextTaskId as origin specifier. However, when not specifying an
|
||||
origin this function also affects origins that have been registered with
|
||||
the legacy csr_log_text.h interface. Furthermore, using this function
|
||||
and the legacy filter configuration functions on the same origin is not
|
||||
allowed.
|
||||
|
||||
PARAMETERS
|
||||
originName - a string containing the name of the origin. Can be NULL or
|
||||
zero length to set the log level for all origins. In this case, the
|
||||
subOriginName parameter will be ignored.
|
||||
subOriginName - a string containing the name of the sub origin. Can be
|
||||
NULL or zero length to set the log level for all sub origins of the
|
||||
specified origin.
|
||||
warningLevelMask - The desired log level for the specified origin(s) and
|
||||
sub origin(s).
|
||||
|
||||
*******************************************************************************/
|
||||
void CsrLogLevelTextSet(const char *originName,
|
||||
const char *subOriginName,
|
||||
CsrLogLevelText warningLevelMask);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user