components/ptp/patches/02-enable_logging.patch
author John Beck <John.Beck@Oracle.COM>
Wed, 04 Mar 2015 10:42:54 -0800
branchs11-update
changeset 3981 3584872e1034
parent 2987 01d2e6a3aae8
permissions -rw-r--r--
20358297 Python 2.7 test_doctest fails in verbose mode
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2987
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     1
18340629 ptpd needs a way to enable or disable logging
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     2
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     3
Following patch adds the capability to enable or disable logging via SMF service
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     4
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     5
diff -ur ptpd-2.2.0/src/ptpd2.8 /builds/pjalan/ptp-userland/components/ptp/ptpd-2.2.0/src/ptpd2.8
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     6
--- ptpd-2.2.0/src/ptpd2.8	Mon Mar 10 01:46:23 2014
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     7
+++ /builds/pjalan/ptp-userland/components/ptp/ptpd-2.2.0/src/ptpd2.8	Fri Mar  7 11:01:09 2014
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     8
@@ -133,6 +133,11 @@
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
     9
 A string specifying the location of the file  used  for
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    10
 log output. The default is /var/log/ptp.log
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    11
 .TP
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    12
+.BR config/enable_logging
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    13
+A boolean which when true, instructs ptpd to log
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    14
+synchronization and other related information in the file
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    15
+specified by config/logfile. Default value is false.
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    16
+.TP
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    17
 .BR  config/other_options
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    18
 A string specifying other command line options mentioned
01d2e6a3aae8 18301028 ptpd in {kernel, native} Zone may conflict with hw mode ptpd in global zone
Prakash Jalan <Prakash.Jalan@oracle.com>
parents:
diff changeset
    19
 below to be passed to svc:/network/ptp:default at startup.