Re: DTrace probe patch for OS X Leopard

Поиск
Список
Период
Сортировка
От Robert Lor
Тема Re: DTrace probe patch for OS X Leopard
Дата
Msg-id 47C878DE.2090608@sun.com
обсуждение исходный текст
Ответ на Re: DTrace probe patch for OS X Leopard  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-patches
Alvaro Herrera wrote:
> Would it work to name the traces "trace_transaction__start" etc instead?
> AFAICS that would cause the macros to be named
>
> POSTGRESQL_TRACE_TRANSACTION_START()
>
Correct, and that would work. With this approach, all the probe names
will start with trace-, and this particular one will be called
trace-transaction-start and can be used this way.

postgresql*:::trace-transaction-start
{
...
}

Actually, it reads better to me than having trace in front. If the above
macro name is acceptable, I'll take this route.


Regards,
-Robert

В списке pgsql-patches по дате отправления:

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: CopyReadAttributesCSV optimization
Следующее
От: "Mark Wong"
Дата:
Сообщение: Proposing correction to posix_fadvise() usage in xlog.c