VirtualBox

Ignore:
Timestamp:
Jul 27, 2016 4:50:39 PM (8 years ago)
Author:
vboxsync
Message:

DTrace: unused parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c

    r62438 r62608  
    19171917dtrace_aggregate_min(uint64_t *oval, uint64_t nval, uint64_t arg)
    19181918{
     1919        RT_NOREF_PV(arg);
    19191920        if ((int64_t)nval < (int64_t)*oval)
    19201921                *oval = nval;
     
    19251926dtrace_aggregate_max(uint64_t *oval, uint64_t nval, uint64_t arg)
    19261927{
     1928        RT_NOREF_PV(arg);
    19271929        if ((int64_t)nval > (int64_t)*oval)
    19281930                *oval = nval;
     
    19982000dtrace_aggregate_avg(uint64_t *data, uint64_t nval, uint64_t arg)
    19992001{
     2002        RT_NOREF_PV(arg);
    20002003        data[0]++;
    20012004        data[1] += nval;
     
    20082011        int64_t snval = (int64_t)nval;
    20092012        uint64_t tmp[2];
     2013        RT_NOREF_PV(arg);
    20102014
    20112015        data[0]++;
     
    20312035dtrace_aggregate_count(uint64_t *oval, uint64_t nval, uint64_t arg)
    20322036{
     2037        RT_NOREF_PV(arg); RT_NOREF_PV(nval);
     2038
    20332039        *oval = *oval + 1;
    20342040}
     
    20382044dtrace_aggregate_sum(uint64_t *oval, uint64_t nval, uint64_t arg)
    20392045{
     2046        RT_NOREF_PV(arg);
    20402047        *oval += nval;
    20412048}
     
    70367043dtrace_match_string(const char *s, const char *p, int depth)
    70377044{
     7045        RT_NOREF_PV(depth);
    70387046        return (s != NULL && strcmp(s, p) == 0);
    70397047}
     
    70437051dtrace_match_nul(const char *s, const char *p, int depth)
    70447052{
     7053        RT_NOREF_PV(s); RT_NOREF_PV(p); RT_NOREF_PV(depth);
    70457054        return (1); /* always match the empty pattern */
    70467055}
     
    70507059dtrace_match_nonzero(const char *s, const char *p, int depth)
    70517060{
     7061        RT_NOREF_PV(p); RT_NOREF_PV(depth);
    70527062        return (s != NULL && s[0] != '\0');
    70537063}
     
    1140411414dtrace_dof_error(dof_hdr_t *dof, const char *str)
    1140511415{
     11416        RT_NOREF_PV(dof);
     11417
    1140611418        if (dtrace_err_verbose)
    1140711419                cmn_err(CE_WARN, "failed to process DOF: %s", str);
     
    1156411576        return (dof);
    1156511577#else  /* VBOX */
     11578        RT_NOREF_PV(name);
    1156611579        return (NULL);
    1156711580#endif /* VBOX */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette